Skip to content

Commit baf50d9

Browse files
committed
Adds feature for specifying --format xml
Signed-off-by: M. Scott Ford <[email protected]>
1 parent 22a500b commit baf50d9

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

features/xml_format.feature

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
Feature: Creating BOM using XML format
2+
3+
Scenario: Running against simple fixture
4+
Given I use a fixture named "simple"
5+
And I run `cyclonedx-ruby --path . --format xml`
6+
Then the output should contain:
7+
"""
8+
5 gems were written to BOM located at ./bom.xml
9+
"""
10+
And a file named "bom.xml" should exist
11+
And the generated XML BOM file "bom.xml" matches "bom.xml.expected"

0 commit comments

Comments
 (0)