Taha Khan(@tahaaakhan) 's Twitter Profile Photo

Revolution Systems Are fixtures loaded during load time or run time? Also, pytest comes with its own mocker, is that better than unittest.mock?

account_circle
Korohub(@vapeafond) 's Twitter Profile Photo

Flask: Accessing Flask test client session in pytest test when using an app factory - - -testing - - - - Answer link : codehunter.cc/a/flask/access…

Flask: Accessing Flask test client session in pytest test when using an app factory - #python - #unit-testing - #flask - #pytest - #fixtures  - Answer link : codehunter.cc/a/flask/access…
account_circle
Rob Zimmerman(@603Zim) 's Twitter Profile Photo

pytest fixtures are a gateway to the fifth circle of hell.

Anybody who professes the virtues of unit testing, and makes copious use of ad-hoc fixtures, has never had the 'pleasure' of schlepping around in someone else's codebase.

account_circle
itäjjuakks(@yeppeuttaa) 's Twitter Profile Photo

Gusti pangeran niki pytest e kepimen ya allah aku wis install tapi ra bisa kebaca sih pimee ceritaneee ARGHHH STRESS

account_circle
kioto(@takaneh) 's Twitter Profile Photo

pytestとmocker使ったプログラムで、特定のテスト内にtime.sleep(1)を書くとUnboundLocalError: local variable 'time' referenced before assignmentが出てくる。他のテストでは問題ないのに。なんでや。

account_circle
Adrian Thönig(@AdrianThonig) 's Twitter Profile Photo

The more experienced i get with coding the more i'm inclined to write stuff from scratch myself.
Instead of trying of fighting with the tools (pytest) i just write it myself and it does exactly what i want it to and what i need it to. This especially true for simple things.

account_circle
Sanket S(@BTechComedian) 's Twitter Profile Photo

पुन्हा 'प्रोजेक्टचे काम बोरिंग होते, नवीन शिकायचे आहे' म्हणून नवीन नोकरी हातात नसताना राजीनामा दिला. अरे मला समजत नाही की Testing मध्ये नवीन शिकायला कंपनीची मदत का हवी ? Java, Selenium, TestNG, Python, Pytest सर्व 'फुकट', YT कोर्स फुकट. नवीन शिकायच्या नादात उपाशी का झोपायचे आहे ?

पुन्हा 'प्रोजेक्टचे काम बोरिंग होते, नवीन शिकायचे आहे' म्हणून नवीन नोकरी हातात नसताना राजीनामा दिला. अरे मला समजत नाही की Testing मध्ये नवीन शिकायला कंपनीची मदत का हवी ? Java, Selenium, TestNG, Python, Pytest सर्व 'फुकट', YT कोर्स फुकट. नवीन शिकायच्या नादात उपाशी का झोपायचे आहे ?
account_circle
Vicki(@vboykis) 's Twitter Profile Photo

I was looking for ways to mock unit tests in Redis and came across pytest-mock-resources. I was startled to find Docker starting up when I ran pytest 😂. At some point all the stuff we do becomes integration tests, yeah?

account_circle
Arun(@ArunSingh316) 's Twitter Profile Photo

Day 21 of 60: File Handling
Date: 21st June 2023
I installed this library called Pytest, but it isn't working in VS Code so if anyone knows how to fix it, please tell me. So I moved on to file handling.


Day 21 of 60: File Handling
Date: 21st June 2023
I installed this library called Pytest, but it isn't working in VS Code so if anyone knows how to fix it, please tell me. So I moved on to file handling.
#60DaysOfLearningWithLeapfrog
#LSPPLearningD21
#LSPPD21
account_circle