“Cucumber needs you to experiment with your favourite Java Virtual Machine based language and connect to Cucumber via JRuby.”
What’s this Cucumber you speak of? Checkout: http://cukes.info/
Wait that’s Ruby, how do I use a JVM based language to play with it?
Cuke4Duke (http://wiki.github.com/aslakhellesoy/cuke4duke) allows writing Cucumber step definitions in Java. This means Java developers can use the Cucumber tool without having to write any Ruby.
Ruby step definitions
1 2 3 4 |
|
Equivalent Java step definitions
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
|
This works by connecting Java to Cucumber via JRuby (http://jruby.codehaus.org/).
So in theory if your language runs on the JVM you can use JRuby, and hence use Cucumber and its wonderful Gherkin language.
So what are you waiting for! Pick up your favourite JVM language and arm yourself with Cucumber!
Some Example JVM languages: