-
Notifications
You must be signed in to change notification settings - Fork 372
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Revert "Enhanced coverage processing (#2)" #259
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
User description
Reverts #254
PR Type
Enhancement, Bug fix, Tests
Description
Reverted changes from a previous enhancement to coverage processing.
Introduced a new
CoverageReportFilter
class for filtering reports by file patterns.Refactored
CoverageData
andCoverageReport
structures, removingis_target_file
and simplifying logic.Updated tests to align with the refactored coverage processing logic.
Changes walkthrough 📝
UnitTestValidator.py
Added file pattern support in coverage processing
cover_agent/UnitTestValidator.py
file_pattern
parameter topost_process_coverage_report
.processor.py
Refactored coverage processing and added filtering
cover_agent/coverage/processor.py
is_target_file
fromCoverageData
.CoverageReport
to simplify filtering logic.CoverageReportFilter
class for filtering reports by filepatterns.
test_processor.py
Updated tests for refactored coverage processing
tests/coverage/test_processor.py
CoverageReportFilter
class.CoverageData
andCoverageReport
.is_target_file
.test_UnitTestValidator.py
Adjusted UnitTestValidator tests for refactored coverage
tests/test_UnitTestValidator.py
CoverageProcessor
.is_target_file
.version.txt
Reverted version number
cover_agent/version.txt