Add comprehensive test coverage for scripts directory#66
Merged
Conversation
- Create tests/scripts/test_eoe_dump_state.py (12 tests, 100% coverage) - Create tests/scripts/test_plot_environment_trajectories.py (30 tests, 100% coverage) - Create tests/scripts/test_run_ai_observer.py (35 tests, 93% coverage) - Update pytest.ini to include --cov=scripts for coverage reporting Total: 77 new tests for previously untested scripts Scripts module coverage: 88.6% (exceeds 80% requirement) All 1042 tests pass with 91.37% overall coverage Closes #65
Co-authored-by: SorraTheOrc <[email protected]>
Copilot
AI
changed the title
[WIP] Add comprehensive scripts test coverage
Add comprehensive test coverage for scripts directory
Dec 5, 2025
SorraTheOrc
added a commit
that referenced
this pull request
Dec 5, 2025
- Updated task 10.1.9 status from READY to COMPLETED - PR #66 merged on 2025-12-05 with 77 new tests - Added test_eoe_dump_state.py (12 tests, 100% coverage) - Added test_plot_environment_trajectories.py (30 tests, 100% coverage) - Added test_run_ai_observer.py (35 tests, 93% coverage) - Updated pytest.ini to include --cov=scripts - Scripts module coverage: 88.6% (exceeds 80% requirement) - Overall coverage improved to 91.37% (up from 90.95%) - Total tests increased to 1,042 (up from 849) - Updated next recommended task to 11.5.1 (Issue #68)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Scripts in
/scriptshad partial test coverage (9/13 scripts tested) and were excluded from pytest coverage configuration.Changes
--cov=scriptsto include scripts in coverage reportsResults
Original prompt
Created from Copilot CLI via the copilot delegate command.
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.