Sha256: c3f2d8c58a7c56b16fa3a857298dd84a1bd1f452c33d0f25975ddde442c7d257

Contents?: true

Size: 637 Bytes

Versions: 1

Compression:

Stored size: 637 Bytes

Contents

# Foodcritic::Junit

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
```

## Install

```
gem '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.1.3 README.md