inspec/lib/plugins/inspec-reporter-junit
James Stocks 48054ef2d1 Update documentation for junit plugins
Signed-off-by: James Stocks <jstocks@chef.io>
2020-09-22 14:15:01 +01:00
..
lib Implement a corrected junit2 reporter that can be validated 2020-09-22 11:40:01 +01:00
test/fixtures/schema Implement a corrected junit2 reporter that can be validated 2020-09-22 11:40:01 +01:00
README.md Update documentation for junit plugins 2020-09-22 14:15:01 +01:00

junit and junit2 reporters

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

To Install These Plugins

This plugin is included with InSpec. There is no need to install it separately.

What These Plugins Do

junit is the legacy Chef InSpec JUnit reporter. It generates an XML report in Apache Ant JUnit format. The output format may be 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, but uses the more heavyweight XML library Nokogiri for testing. This is to keep packaging requirements lightweight and free of compiled dependencies.