Extensive test suite for CPE matching #2243
Labels
enhancement
New feature or request
good first issue
Good for newcomers
help wanted
Extra attention is needed
Milestone
Current Behavior
We maintain a custom CPE matching logic, yet our test coverage is very scarce.
Making changes to the existing logic is a high risk, because we don't quite know if it negatively affects matching on real-world data.
Proposed Behavior
Setup a test suite with loads of real-world CPE data.
Note that we also pull versions information from component PURLs if the analyzed component has no CPE assigned to it, so that aspect should be covered as well.
The test subject will be the
InternalAnalysisTask
.To cover as much data as possible without having to write too much code, setting up a test that just reads from a CSV file or so would be preferable.
Checklist
The text was updated successfully, but these errors were encountered: