Merge test results into models #94
Merged
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.
User description
merged test_results.py into models.py to avoid circular imports. Also refactored out some logic from CoverageData into CoverageUtils so we don't clutter the models.py file
PR Type
Description
Integrated test result and verification types into models.
Removed deprecated test_results module.
Redirected and refactored imports across modules.
Introduced CoverageUtils for coverage handling.
Changes walkthrough 📝
11 files
Updated import for VerificationType from models.Replaced test_results import with models import.Adjusted import to fetch TestResults from models.Updated imports to use TestResults and TestType from models.Modified import order and consolidated ValidCode usage.Changed TestType import to retrieve from models.Updated TestResults import from models.Altered VerificationType import to reference models.Adjusted import ordering; moved to models for test types.Redirected sqlite coverage loading to CoverageUtils.Updated TestFiles and TestType imports from models.2 files
Added VerificationType, TestType, and test result classes.New module: CoverageUtils for sqlite coverage extraction.1 files
Removed redundant test_results module; functionality moved to models.8 files
Revised imports to include new TestType and VerificationType.Updated import to use models for test result classes.Refactored imports for FunctionTestInvocation and TestResults.Switched to models for CodePosition, FunctionParent, and TestType.Extended imports with TestType and TestsInFile from models.Updated imports to use models for test results and verification.Changed merge test results to use models for FunctionTestInvocation.Modified imports to retrieve TestFile and TestType from models.