-
Notifications
You must be signed in to change notification settings - Fork 38
Open
Description
Description
Test pollution is a major issue - tests affect each other's state, especially across dev units. The test generation prompt should include explicit instructions to:
- Build up test fixtures completely at the start of each test
- Tear down all test state at the end of each test
- Ensure each test can run independently in any order
- Not rely on state from other tests
Current Problem
- Tests pass when run individually but fail when run together
- Test pollution happens between dev units (not just within)
- Significant manual work required to fix test isolation issues
Acceptance Criteria
- Test generation prompt includes explicit isolation requirements
- Generated tests include proper setup/teardown
- Tests can run in any order without pollution
Metadata
Metadata
Assignees
Labels
No labels