Skip to content
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

Implement "Roundtrip" Tests to Improve Integrity #418

Open
msymons opened this issue Jun 10, 2024 · 2 comments
Open

Implement "Roundtrip" Tests to Improve Integrity #418

msymons opened this issue Jun 10, 2024 · 2 comments
Labels
enhancement New feature or request

Comments

@msymons
Copy link
Contributor

msymons commented Jun 10, 2024

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
@mr-zepol
Copy link
Contributor

mr-zepol commented Jun 11, 2024

@msymons thanks, I am working on this, also adding some backward compatibility tests as well, once I have a better idea and changes on what I wanna do I will create a PR

@nscuro nscuro added the enhancement New feature or request label Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants