Sha256: 8a84e2dea3562643e637b0e0280c2cd90229e9c9ee7faddbd57b6db4303ebf96
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
# RSpec JUnit Formatter [![Build results](http://img.shields.io/travis/sj26/rspec_junit_formatter.svg)](https://travis-ci.org/sj26/rspec_junit_formatter) [![Gem version](http://img.shields.io/gem/v/rspec_junit_formatter.svg)](https://rubygems.org/gems/rspec_junit_formatter) [RSpec][rspec] 2 & 3 results that [Jenkins][jenkins] can read. Probably a few other CI servers, too. Inspired by the work of [Diego Souza][dgvncsz0f] on [RSpec Formatters][dgvncsz0f/rspec_formatters] after frustration with [CI Reporter][ci_reporter]. ## Usage Install the gem: gem install rspec_junit_formatter Use it: rspec --format RspecJunitFormatter --out rspec.xml You'll get an XML file with your results in it. ## More Permanent Usage Add it to your Gemfile if you're using [Bundler][bundler]. Put it in the same groups as rspec. In your .rspec, usually alongside another formatter, add: --format RspecJunitFormatter --out rspec.xml You can use it in combination with other formatters: rspec --format progress --format RspecJunitFormatter --out rspec.xml ## Roadmap * It would be nice to split things up into individual test suites, although would this correspond to example groups? The subject? The spec file? Not sure yet. * This would sit nicely in rspec-core, and has been designed to do so. ## License The MIT License, see [LICENSE][license]. [rspec]: http://rspec.info/ [jenkins]: http://jenkins-ci.org/ [dgvncsz0f]: https://github.com/dgvncsz0f [dgvncsz0f/rspec_formatters]: https://github.com/dgvncsz0f/rspec_formatters [ci_reporter]: https://github.com/nicksieger/ci_reporter [bundler]: http://gembundler.com/ [fuubar]: http://jeffkreeftmeijer.com/2010/fuubar-the-instafailing-rspec-progress-bar-formatter/ [license]: https://github.com/sj26/rspec-junit-formatter/blob/master/LICENSE
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec_junit_formatter_jenkins-0.2.4 | README.md |