-
Notifications
You must be signed in to change notification settings - Fork 8
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
chore: adapt runTest.js
script to allow csaf 2.1 tests
#220
Conversation
Coverage after merging 217-csaf-2.1-test-script into 196-csaf-2.1
Coverage Report |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One question. other than that LGTM
@@ -3,44 +3,126 @@ | |||
/** | |||
* @file Script to validate JSON files against given tests | |||
* | |||
* Usage: node <script-path>.js json/file/path.json mandatoryTest_6_1_1 | |||
* Usage: node <script-path>.js -f <json-file-path> -t <test-name> [-c <csaf-version>] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not fully convinced about -c
as short for CSAF version. I also wrote that in an different ticket (csaf-poc/csaf-rust#22). Given that this is a more generic process (which might take a little longer), I suggest to accept this as -c for now and fix it once the decision has be made.
Therefore, tracked as separate ticket #221
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(one separated as #221) LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Closes #217 .