Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Continuous Integration Testing for Ruby on Rails with Jenkins

Does anyone know of a way to do continuous integration testing with Ruby on Rails with Jenkins?

I have followed Rspec for writing test cases in ROR application.

I need to integrate Test process with jenkins CI.

If you could provide any pointers, I really would appreciate it.

like image 345
reddy Avatar asked Sep 14 '11 13:09

reddy


1 Answers

Since Jenkins can run anything on the command line, the important part is allowing Jenkins to interpret the test output.

Basically what you need is this gem:

https://github.com/nicksieger/ci_reporter

The CI Reporter gem will output Test::Unit and RSpec test results as a JUnit-compatible XML file which Jenkins can interpret. I believe this is the key to integration.

like image 188
brendan Avatar answered Oct 29 '22 23:10

brendan