Repository navigation
docs: add a paragraph about test interferrence debugging - #73
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 053c1e8c20
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| 4. **Minimize the list.** Now shrink `tests.txt` until only the interfering tests remain: comment out a chunk of lines (the `--test-list` format treats lines starting with `#` as comments), re-run, and keep whichever half still fails. Repeat. You'll typically converge on a pair — one test that pollutes shared state, and one that trips over it. | ||
|
|
||
| 5. **Fix the dependency.** Make both tests self-contained: set up the state each test needs in the test itself (or a fixture), and clean up whatever it changes. Once the tests are hermetic, they'll pass regardless of which shard — or neighbors — they get. |
There was a problem hiding this comment.
Restore the Uploading Reports heading
After this new debugging section, the previous ## Uploading Reports heading was removed even though the table of contents still links to #uploading-reports. Readers following that link will not reach the upload instructions, and the upload text is now rendered as part of Debugging test failures; please re-add the top-level heading before the paragraph that starts “Reports are automatically uploaded...”.
Useful? React with 👍 / 👎.
No description provided.