-
Notifications
You must be signed in to change notification settings - Fork 332
test: Add test for CycloneDX XML with authors #10271
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
base: main
Are you sure you want to change the base?
test: Add test for CycloneDX XML with authors #10271
Conversation
f1560eb
to
e075508
Compare
@@ -94,6 +96,30 @@ class CycloneDxReporterFunTest : WordSpec({ | |||
} | |||
} | |||
|
|||
"create the expected XML file with authors" { |
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 believe instead of adding a new separate test, it would make sense to instead enhance the input of "create the expected XML file"
. For enhancing it withAuthors()
imo is ok. Furthermore, the analog JSON test case IMO should also use / keep on using the same input, so that XML and JSON tests remain analog.
This comment was marked as outdated.
This comment was marked as outdated.
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #10271 +/- ##
=========================================
Coverage 56.46% 56.46%
Complexity 1605 1605
=========================================
Files 331 331
Lines 12262 12262
Branches 1141 1141
=========================================
Hits 6924 6924
Misses 4889 4889
Partials 449 449
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This test is currently expected to fail due to a bug in the cyclonedx-core-java [1]. [1]: CycloneDX/cyclonedx-core-java#638 Signed-off-by: Marcel Bochtler <[email protected]>
e075508
to
44103f4
Compare
This test is currently expected to fail due to a bug in the cyclonedx-core-java 1.