Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Anyone using JRuby testing framework for Eclipse/Maven?

I'm not having much luck searching google for this - are there any JRuby unit testing frameworks for Java code that integrate with Eclipse or Maven? Is there perhaps a Cucumber flavor that integrates with Eclipse, and if so, could someone point me to a quickstart guide explaining how to do it? :-(

like image 775
Val Akkapeddi Avatar asked Nov 05 '22 06:11

Val Akkapeddi


1 Answers

Have you looked at cucumber-jvm (previously cuke4duke)? From the project README:

Cucumber-JVM is a pure Java implementation of Cucumber that supports the following programming languages:

  • Clojure
  • Groovy
  • Ioke
  • Java
  • JavaScript (Rhino interpreter)
  • Python (Jython interpreter)
  • Ruby (JRuby interpreter)
  • Scala

Cucumber-JVM provides the following mechanisms for running Cucumber Features:

  • Command Line
  • JUnit (via IDE, Maven, Ant or anything that knows how to run JUnit)

We've been using it in our CI builds with Maven and it works great. It looks like you can also write your tests in JRuby.

like image 179
Arthur Maltson Avatar answered Nov 07 '22 20:11

Arthur Maltson