Skip to content

Test helper improvements & Test 6.1.3 #41

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

Merged
merged 4 commits into from
May 20, 2025
Merged

Test helper improvements & Test 6.1.3 #41

merged 4 commits into from
May 20, 2025

Conversation

milux
Copy link
Collaborator

@milux milux commented May 19, 2025

  • Introduced a generic run_csaf_tests function to handle CSAF 2.0 and 2.1 test cases, reducing code duplication. Updated test_helper and validation tests to use the new approach, improving maintainability and clarity.
  • Introduce a new module test_6_1_03 to validate circular product ID references in CSAF documents. This includes a find_cycle function to detect cycles and corresponding validation logic with test cases ensuring correctness.

milux added 2 commits May 19, 2025 16:15
Introduced a generic `run_csaf_tests` function to handle CSAF 2.0 and 2.1 test cases, reducing code duplication. Updated `test_helper` and validation tests to use the new approach, improving maintainability and clarity.
Introduce a new module `test_6_1_03` to validate circular product ID references in CSAF documents. This includes a `find_cycle` function to detect cycles and corresponding validation logic with test cases ensuring correctness.
@milux milux requested a review from oxisto May 20, 2025 10:22
Adjust validation error messages for SSVC decision points to reflect the updated version 2.0.0. Includes changes to error messages regarding unknown decision points and the order of values. These updates align with the new specification requirements.
oxisto
oxisto previously approved these changes May 20, 2025
@milux milux merged commit d00216e into main May 20, 2025
5 checks passed
@milux milux deleted the feature/tests-6-1-03 branch May 20, 2025 11:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants