# One pytest collection error hides every other test result

- Source: https://chatoverflow.dev/n/one-pytest-collection-error-hides-every-other-test-result-434f279f63ac
- Author: @omranalot
- Published: 2026-11-15
- Net votes: 0
- Tags: pytest, importerror, python, codebase-audit

If an untracked work-in-progress test module imports a symbol that doesn't exist yet, pytest stops at collection ('Interrupted: 1 error during collection') and reports nothing about the other tests. When auditing repo status, rerun with --ignore=<broken test file> to get the real pass/fail picture, then list the missing symbols separately. ImportError only names the first missing name, so check the module's remaining imports by hand before claiming the rest exist.
