CycloneDX / CycloneDX/cyclonedx-core-java

Implement "Roundtrip" Tests to Improve Integrity

Open
#418 2 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Java
Stars
120
Forks
90
Avg merge
12h 43m
Merged PRs (30d)
18

Description

The project should implement "roundtrip" tests in order to exercise validation and, hopefully, help prevent the defects that led to the need to release v9.01 and v9.02

1. Parse BOM that is known to be valid
2. Generate a BOM based on what has been parsed
3. Compare input and output - Should be the same, otherwise either parsing or generation is broken
4. Validate output against schema - Should be valid, otherwise generation is broken

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.