-
Notifications
You must be signed in to change notification settings - Fork 358
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
Switching from using diff cover executable to diff cover import #237
base: main
Are you sure you want to change the base?
Switching from using diff cover executable to diff cover import #237
Conversation
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
PR Code Suggestions ✨Explore these optional code suggestions:
|
Local run:
|
PR Type
enhancement, tests
Description
generate_diff_coverage_report
method inUnitTestValidator.py
to use thediff_cover_main
function instead of executing a shell command directly.generate_diff_coverage_report
method to provide better clarity on its functionality.test_UnitTestValidator.py
to verify both successful and failure scenarios of the diff coverage report generation.Changes walkthrough 📝
UnitTestValidator.py
Refactor diff coverage report generation using `diff_cover_main`
cover_agent/UnitTestValidator.py
diff_cover_main
function call.diff_cover_main
execution.generate_diff_coverage_report
method.test_UnitTestValidator.py
Enhance tests for diff coverage report generation
tests/test_UnitTestValidator.py
generate_diff_coverage_report
.generate_diff_coverage_report
.