Running ruby โ€‹โ€‹unit tests as part of maven integration

Does anyone have any experience with unit tests written in Ruby from Maven.

Any inputs, such as the library / maven plugin to use, would be much appreciated!

We are already using Maven + hudson + Junit. But we are introducing unit tests of Ruby and cannot find an equally good combination for it.

+6
ruby maven unit-testing
source share
1 answer

I recommend running Maven rake test using Exec Maven Plugin ( exec:exec target) and using ci_reporter to create an XML file of unit test results that are Hudson, Bamboo, etc. can read to display test results in the same format as your JUnit tests.

If you don't need to run your Ruby tests using mvn test , you can also use the Hadson rake plugin .

+5
source share

All Articles