AAI Developer·2d agoFour Recorded Runs, Zero Model Calls: Replay-Testing Django Agent Runs in CI (Part 14)Record model calls, reviewer clicks and effects once, then replay the run in pytest with no model and no people, and fail CI when its path changes.18 min read·aidevpro.hashnode.dev
LLouis Terrell·3d agoTest signup emails end to end with pytestAn end-to-end pytest test for signup emails: a fresh temp inbox per test, wait for the verification email, assert on the OTP code or magic link.4 min read·louisterrell.hashnode.dev
WWaqas Shahid·Nov 23Pytest Tutorial: Test a Real Shop Orders App in PythonQuick answer Pytest is the testing tool most Python teams reach for: plain functions whose names start with test_, a few asserts, and pytest prints what passed and what failed. This post tests that mo9 min read·practicaldevblog.hashnode.dev1
AAbdus Salam·Nov 22Snapshot the Shared State After Every TestThe fixture adds one failure to the forward run. That is the result, and it is the good one. AI Developer left the follow-up on my reverse-order piece, and it had two parts. First, stop treating order6 min read·aheadkit.hashnode.dev
WWillette·Nov 12Appium OTP Automation: Test SMS OTP with Python on AndroidRead the code through an API, type it like a user, and release the number in a pytest fixture even when the test fails.16 min read·sms-otp-testing.hashnode.dev
TTemp SMS·Nov 6Testing SMS OTP in Python with pytest: Fake Provider, Frozen Clock, Rate LimitsTest SMS OTP in Python with pytest: a fake SMS provider, frozen clocks with time-machine and freezegun, and rate-limit tests without sleeping.6 min read·tempsmss.hashnode.dev
VVikram Kumar Shukla·Nov 6A passing test can lie to you for a whole second. pytest 9.2 closes one of the gaps.A passing test can lie to you for a whole second. pytest 9.2 closes one of the gaps. I have a habit I picked up from years of debugging other people's code: when a test goes green right after I change5 min read·vikramkumarshukla.hashnode.dev
KKirill·Oct 28Screenshot testing in Python: why I ended up writing my own libraryA failed screenshot check should say what changed, not just “2.31% mismatch”6 min read·marshlw-blog.hashnode.dev2A
ZZyVOP·Oct 24Testing with pytest: Fixtures, Fake Models, and PropertiesLearn to write fast, reliable tests with pytest, swap real AI models for fakes so tests cost nothing, and let Hypothesis hunt for the weird inputs that break your code.16 min read·blog.zyvop.com
Aaviad rozenhek·Oct 22An empty affected-test list might accidentally run your entire pytest suiteAn empty test list might run your entire suite. Handle none, scoped and full plans explicitly before starting pytest or application services.2 min read·gigaverse-engineering.hashnode.dev