Skip to content

framework

pytest

pytest is a widely used Python testing framework that discovers and runs test suites, with support for fixtures and a large plugin ecosystem.

Known aliases

  • doctest
  • Pytest
  • py.test
  • pytest-asyncio
  • pytest-codeblocks
  • pytest --doctest-modules
  • pytest-trio

Relationships

No evidence-backed relationships are recorded.

Current stories

build1 publisher

zerocase refuses green CI runs whose reports show nothing executed

zerocase fails a CI run when its JUnit, TAP, LCOV, Cobertura or ESLint report shows zero executed items, even if the command exited 0. It counts only what ran, so fifty skipped tests fail the gate and fifty failed tests are left to the exit code.

Publishers:dev.to

Reality

Evidence45
Adoption
Insufficient
Hype gap+5
Incentives35
Confidence45
build1 publisher

Three of four layers in a proposed MCP testing pyramid run as plain pytest

Three of the four layers in a dev.to testing pyramid for MCP servers are plain pytest checks on schemas, error envelopes and session expiry. Only the fourth puts a model in the loop, and the available text breaks off before describing it.

Publishers:dev.to

Reality

Evidence50
Adoption
Insufficient
Hype gap+25
Incentives
Insufficient
Confidence50
build1 publisher

Split the suite so flaky tests cannot gate an agent's patch

A dev.to write-up sorts every test path into four classes and hashes the scoring ones on main, so a patch that retouches a fixture fails with a different exit code than a patch that breaks a property.

Publishers:dev.to

Reality

Evidence32
Adoption
Insufficient
Hype gap+18
Incentives18
Confidence45
build1 publisher

Forking mid-emit hands a worker a logging lock that stays taken

Python's logging module keeps an RLock behind every handler. One shared setup_logging() therefore deadlocks a forked pool on one machine and silently drops worker records on another, and a single-OS review only ever sees one of them.

Publishers:dev.to

Reality

Evidence58
Adoption
Insufficient
Hype gap+10
Incentives20
Confidence55
build1 publisher

A sleeping laptop expired a 30-second HTTP budget by half an hour

A queue worker built its remaining-seconds budget from time.time(), and after the host woke from sleep it logged remaining=-1842.7. Two days of debugging went to sockets, Docker and NTP before the clocks got compared.

Publishers:dev.to

Reality

Evidence58
Adoption
Insufficient
Hype gap0
Incentives60
Confidence55

Earlier coverage

  1. Running this contamination gate on git diffs zeroes out its literal check

    Build · September 17, 2026 · 1 publisher

  2. This merge gate runs decode(encode(x)) before it trusts a green pytest run

    Build · September 16, 2026 · 1 publisher

  3. A workflow_run listener reads the shutdown-signal line before it retries a dead CI job

    Build · September 16, 2026 · 1 publisher

  4. Censoring infra failures shrinks the denominator behind a coding-agent pass rate

    Build · September 15, 2026 · 1 publisher

  5. PYTHONUTF8=1 in a .zshrc hid the encoding bug from every local test run

    Build · September 15, 2026 · 1 publisher

  6. Committed byte fixtures catch the ensure_ascii flip a dict-equality test lets through

    Build · September 15, 2026 · 1 publisher

  7. Classifying test files by glob hands the merge bit to whoever owns tests/oracles

    Build · September 15, 2026 · 1 publisher

  8. A must-reject lockfile blocks the merge when a frozen bad input starts returning 200

    Build · September 14, 2026 · 1 publisher

  9. The mutation gate skips every pattern it cannot find in the target file

    Build · September 14, 2026 · 1 publisher

  10. No source edits until a flake repeats twice, tested across a 16-case environment matrix

    Build · September 14, 2026 · 1 publisher

  11. A generic loop-cost harness for any OpenAI-compatible endpoint asks the model once per repeat

    Build · September 14, 2026 · 1 publisher

  12. Trusting messages[0] lets yesterday's email verify today's signup

    Build · September 13, 2026 · 1 publisher

  13. Nine test cases pin an error taxonomy before an agent rewrites one except clause

    Build · September 11, 2026 · 1 publisher

  14. Proposed merge gate fails an agent patch when a committed seed stops drawing

    Build · September 10, 2026 · 1 publisher

  15. An except Exception clause lets the recorder script record its own AssertionError as the timeout exception

    Build · September 10, 2026 · 1 publisher

  16. Nine bugs in a self-built mutation-testing harness, all favoring the builder's story

    Build · September 10, 2026 · 1 publisher

  17. A fixture-digest lockfile moves the merge gate out of CI and into commit identity

    Build · September 10, 2026 · 1 publisher

  18. The archrule glob makes your package tree the architecture spec

    Build · September 10, 2026 · 1 publisher

  19. A trailing dollar sign disarms the fixture check in this merge-promotion hook

    Build · September 9, 2026 · 1 publisher

  20. A bare ToolNode.invoke() has needed a Runtime object for eleven months

    Build · September 8, 2026 · 1 publisher

  21. An assertion budget scores the test AST before CI installs anything

    Build · September 8, 2026 · 1 publisher

  22. A decorative checkmark crashes pytest on a runner that boots with LANG=C

    Build · September 8, 2026 · 1 publisher

  23. Freezing an expected-result file moves the pass condition outside the agent's writable surface

    Build · September 7, 2026 · 1 publisher

  24. SWE-Gate flunks 221 of 644 test-passing agent patches on rules mined from PR comments

    Build · September 5, 2026 · 1 publisher

  25. Pytest catches the pipeline bugs that ship as wrong numbers

    Build · September 2, 2026 · 1 publisher

  26. Mutation scoring drops a 47% coverage test to a 9.5% kill rate

    Build · September 1, 2026 · 1 publisher

  27. Classify the CI failure before you rewrite the agent's patch

    Build · August 29, 2026 · 1 publisher

  28. Django's boring core is paying for the churn in everything above it

    Build · August 28, 2026 · 1 publisher

  29. Mutation-testing an agent-patch gate scores it at 74% recall on injected defects

    Build · August 28, 2026 · 1 publisher

  30. A model documenting a retry wrapper hands you tenacity's parameters

    Build · August 27, 2026 · 1 publisher

  31. Five rewrites later, the LLM is out of the test loop and into the selectors

    Build · August 25, 2026 · 1 publisher

  32. A green test suite that proved nothing: aiortc's mangled cert slot versus libp2p certhash pinning

    Build · August 20, 2026 · 1 publisher

  33. The 21-cent model bake-off that inverted when the judge got audited

    Build · August 20, 2026 · 1 publisher

  34. An AI test suite hit 94% coverage and missed the one branch that mattered

    Build · August 20, 2026 · 1 publisher

  35. Your Databricks Pipeline Is A Demo Until Promotion Only Runs One Way

    Build · August 20, 2026 · 1 publisher

  36. 255 tool schemas, 91K tokens: pricing the two MCP costs nobody budgets

    Build · August 19, 2026 · 1 publisher