DEV Community

#pytest

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
pytest plugins that actually change how you test in 2026

pytest plugins that actually change how you test in 2026

Comments
7 min read
The New File Was Named types.py. The Free Server Imported a Different Module.

The New File Was Named types.py. The Free Server Imported a Different Module.

Comments
7 min read
How to Stop N+1 Database Queries in Django Tests with django-query-guard

How to Stop N+1 Database Queries in Django Tests with django-query-guard

1
Comments
2 min read
monkeypatch or mock.patch? One question decides it

monkeypatch or mock.patch? One question decides it

Comments
2 min read
Don't Let Codex Roam Free: 6 Guardrails I Use for AI-Assisted Coding

Don't Let Codex Roam Free: 6 Guardrails I Use for AI-Assisted Coding

Comments
7 min read
The pytest fixture that quietly leaks state between your tests

The pytest fixture that quietly leaks state between your tests

Comments
2 min read
Pytest Built-in Fixtures

Pytest Built-in Fixtures

Comments
3 min read
Testing Data Pipelines Like You Mean It: A pytest Crash Course for Data Engineers

Testing Data Pipelines Like You Mean It: A pytest Crash Course for Data Engineers

1
Comments
18 min read
📝 Growing pytest into an “Incident Prevention Log” — Stage 3: Authentication, CSRF, and Access Control (51 ➡ 69 Tests)

📝 Growing pytest into an “Incident Prevention Log” — Stage 3: Authentication, CSRF, and Access Control (51 ➡ 69 Tests)

Comments 2
12 min read
5 Tests to Catch Bugs

5 Tests to Catch Bugs

Comments
5 min read
🐍 Fixing a `google-genai` Version Mismatch and Verifying the Behavior with pytest [1/3]

🐍 Fixing a `google-genai` Version Mismatch and Verifying the Behavior with pytest [1/3]

2
Comments
7 min read
Building a Countdown Timer CLI in Python — time, finally, mock, and Testing Exceptions

Building a Countdown Timer CLI in Python — time, finally, mock, and Testing Exceptions

Comments
12 min read
Testing Management Tools: A Comparative Guide and Real-World Reporting

Testing Management Tools: A Comparative Guide and Real-World Reporting

1
Comments 1
3 min read
Applying Pytest and Requests for Real-World API Testing in a FastAPI Application

Applying Pytest and Requests for Real-World API Testing in a FastAPI Application

Comments
2 min read
Applying API Testing Frameworks in the Real World: A Practical Guide with Pytest

Applying API Testing Frameworks in the Real World: A Practical Guide with Pytest

1
Comments
3 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.