You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 21, 2019. It is now read-only.
aslakhellesoy edited this page May 25, 2011
·
5 revisions
Nothing is stopping you from writing Step Definitions in the Ruby language, even if your application is written in Java, Scala or some other language. This is because it’s really easy to use Java classes and objects from Ruby. This is possible when you run Cucumber with the JRuby interpreter.
An old release of Cucumber project has a little example that demostrates how to test a Java application with Ruby step definitions – running Cucumber on JRuby.
That example doesn’t even use Cuke4Duke, but you could easily use the same approach with Cuke4Duke by simply putting Ruby Step Definitions under features/step_definitions.