[go: up one dir, main page]

DEV Community

#pytest

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
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
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
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
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
I Trusted mtime to Invalidate a Cache. Same-Second Writes Never Looked Stale.

I Trusted mtime to Invalidate a Cache. Same-Second Writes Never Looked Stale.

Comments 2
9 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
pytest plugins that actually change how you test in 2026

pytest plugins that actually change how you test in 2026

2
Comments 2
7 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
👋 Sign in for the ability to sort posts by relevant, latest, or top.