view page source - page history - about editing

Revision History: Enabling Jenkins support with Ruby on Rails tests

This is revision 610 of the page Enabling Jenkins support with Ruby on Rails tests, as it appeared on Thu, 21 Aug 2014 19:46:17 -0700.
Ruby on Rails

1. Make sure you are using Rails 4.1+.

2. Use the cireporterminitest gem in your Gemfile, and run bundle update:

gem 'ci_reporter_minitest', '~> 1.0.0'

3. Require the ci:setup:minitest task as a dependency of the test task:

# /Rakefile

# ...

# Require the reporter in your Rakefile, and ensure that ci:setup:minitest is a dependency of your minitest task:
require 'ci/reporter/rake/minitest'
task :test => 'ci:setup:minitest'

4. Run rake test, and test/reports/*.xml should be generated!
Categories: Ruby on Rails | Testing

view page source - what links to here? - page history - top
Last edited by jevon jevon 55 months ago