Skip to content

Conversation

@max-sixty
Copy link
Owner

Summary

  • Consolidate 12 CI status tests into 7 parameterized test functions using rstest #[case]
  • Same coverage with 70% less code (502 → 154 lines)
  • Snapshot files renamed to shorter names

Test plan

  • All 768 integration tests pass
  • All 12 CI status test cases still execute

🤖 Generated with Claude Code

Consolidate 12 CI status tests into 7 parameterized test functions using
rstest #[case]. Same coverage with 70% less code:

- PR status tests (4 cases): passed, failed, running, conflicts
- StatusContext tests (2 cases): pending, failure
- Workflow run tests (2 cases): completed, running
- Special cases (4 tests): stale PR, mixed types, no checks, owner filter

Co-Authored-By: Claude <[email protected]>
@max-sixty max-sixty merged commit ecb5fe3 into main Jan 10, 2026
19 checks passed
@max-sixty max-sixty deleted the test-speed branch January 10, 2026 18:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants