Sha256: fa73dbbcc75270e27e8332a48d11819ed478d14378d4bbb867d2a47bad0e898a

Contents?: true

Size: 827 Bytes

Versions: 1

Compression:

Stored size: 827 Bytes

Contents

# Foodcritic::Junit ![Build Status](https://travis-ci.org/weblinc/foodcritic-junit.svg?branch=master)
Parses foodcritic output (with context) into a JUnit XML file.

## Usage

```bash
$ bundle exec foodcritic -C . | bundle exec foodcritic-junit
=> Wrote test/reports/report.xml
```

![Example JUNIT output](http://i.imgur.com/ZoOI3yk.png?1)

## 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](https://github.com/clintoncwolfe/chef-ci-tools/blob/master/bin/foodcritic-junit-tee.rb)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
foodcritic-junit-0.2.4 README.md