-
Notifications
You must be signed in to change notification settings - Fork 358
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor UnitTestValidator to remove duplication of handling report f…
…rom CoverageProcessing (#209) * Refactor UnitTestValidator to remove duplication of handling report from CoverageProcessing Code to run tests and process coverage report is duplicated between `run_coverage` and `validate_test`. While the code in `run_coverage` is initializing `last_coverage_percentages` during initialization, the code in `validate_test` is updating the coverage percentages after adding generated tests. This PR attempts to just combine the handling of Union(Tuple, dict) from CoverageProcessor as it return Union(Tuple, dict). * fix incorrect variable reference
- Loading branch information
1 parent
5860b4d
commit f329e00
Showing
1 changed file
with
68 additions
and
99 deletions.
There are no files selected for viewing
This file contains 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