inspec/lib/plugins/inspec-reporter-junit
Nikita Mathur 9ecfad0122 Added gemspec file to core plugins to be used in plugin listing for description
Signed-off-by: Nikita Mathur <nikita.mathur@chef.io>
2022-03-18 17:27:11 +05:30
..
lib Apply chefstyle -a, and manually remove duplicate requires 2020-12-21 13:25:04 -05:00
test/fixtures/schema Implement a corrected junit2 reporter that can be validated 2020-09-22 11:40:01 +01:00
inspec-reporter-junit.gemspec Added gemspec file to core plugins to be used in plugin listing for description 2022-03-18 17:27:11 +05:30
README.md Tweak JUnit plugin docs 2020-09-22 15:46:20 +01:00

junit and junit2 reporters

This is the implementation of the junit and junit2 XML reporters.

Installation

This plugin ships with Chef InSpec and requires no additional installation.

What These Plugins Do

junit is the legacy Chef InSpec JUnit reporter, which is retained for backwards compatibility. It generates an XML report in Apache Ant JUnit format. The output format is considered nonstandard in several ways. New users are advised to use junit2.

junit2 is an updated reporter that provides JUnit output according to the schema published by Windy Road.

Implementation Note

This reporter uses the REXML XML generator at runtime, but uses Nokogiri, a more heavyweight XML library, for testing. This design keeps packaging requirements lightweight and free of compiled dependencies.