Foodcritic::Junit
Parses foodcritic output (with context) into a JUnit XML file.
Usage
$ bundle exec foodcritic -C . | bundle exec foodcritic-junit => Wrote test/reports/report.xml
Install
In your Gemfile: gem 'foodcritic-junit'
or just gem install foodcritic-junit
Options
Environment Variables
COOKBOOK_NAME="my_cookbook" FOODCRITIC_JUNIT_OUTPUT_DIR="/tmp/" FOODCRITIC_JUNIT_OUTPUT_FILE="my_junit_report.xml"
Other
Pull requests / bug reports welcome :)
This gem is released and available under the MIT license.
Inspired by foodcritic-junit-tee