DEV Community

#pytest

Posts

đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.
On Windows, four processes appending to one file lost 37 of 200 lines

On Windows, four processes appending to one file lost 37 of 200 lines

1
Comments 2
3 min read
Testing a Python Backend: Unit, Integration, and Service Tests

Testing a Python Backend: Unit, Integration, and Service Tests

10
Comments 2
10 min read
Ditching Selenium for Playwright + Pytest: What We Gained (and Why We Never Looked Back)

Ditching Selenium for Playwright + Pytest: What We Gained (and Why We Never Looked Back)

Comments
5 min read
Your Test Suite Is Slow Because It Tests Postgres

Your Test Suite Is Slow Because It Tests Postgres

Comments
3 min read
Growing Pains with Five Repositories: Gitlinks and Dual CI

Growing Pains with Five Repositories: Gitlinks and Dual CI

Comments
4 min read
Your SQLAlchemy test factory fails at random past 50 rows. Here's the one-line fix.

Your SQLAlchemy test factory fails at random past 50 rows. Here's the one-line fix.

Comments 1
3 min read
Pin Fixture Hashes Before the Agent Merge

Pin Fixture Hashes Before the Agent Merge

Comments
7 min read
How to use AI for Test Automation: Building the MCP-Pytest Framework

How to use AI for Test Automation: Building the MCP-Pytest Framework

1
Comments
5 min read
Freeze returncode, Streams, and TimeoutExpired Before One Wrapper Extract

Freeze returncode, Streams, and TimeoutExpired Before One Wrapper Extract

Comments 1
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
Testing the deny path: how to prove an MCP server's guards hold

Testing the deny path: how to prove an MCP server's guards hold

Comments 1
5 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
đź‘‹ Sign in for the ability to sort posts by relevant, latest, or top.