Skip to content

Cucumber support for the JVM: Java, Scala, Groovy, Clojure, Ioke, Javascript, Spring, Guice, PicoContainer, WebDriver, Ant and Maven

License

Notifications You must be signed in to change notification settings

richardlawrence/cuke4duke

 
 

Repository files navigation

Cuke4Duke

Cuke4Duke is an addon to Cucumber, making it possible to write step definitions in several different JVM languages.

Bootstrapping build environment

First, cd to cuke4duke and run mvn install once. This will install JRuby under your Maven repo.

Install required gems:

GEM_PATH=~/.m2/repository/.jruby GEM_HOME=~/.m2/repository/.jruby jruby -S gem install rake jeweler celerity gherkin cucumber
# When rspec 2.0 is released - drop the --pre option
GEM_PATH=~/.m2/repository/.jruby GEM_HOME=~/.m2/repository/.jruby jruby -S gem install rspec --pre

Release process

Before release:

  • Update version in all pom.xml files, and cuke4duke/VERSION
  • Update Cucumber dependency in cuke4duke/Rakefile
  • Update Gherkin dependency in cuke4duke/pom.xml
  • pushd cuke4duke && GEM_PATH=~/.m2/repository/.jruby GEM_HOME=~/.m2/repository/.jruby jruby -S rake install && popd
  • rake i18n_generate
  • mvn -P examples clean install -Dcuke4duke.bin=cuke4duke/bin/cuke4duke

If all ok:

  • rake release

About

Cucumber support for the JVM: Java, Scala, Groovy, Clojure, Ioke, Javascript, Spring, Guice, PicoContainer, WebDriver, Ant and Maven

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 71.6%
  • Scala 20.3%
  • Ruby 4.2%
  • Groovy 2.9%
  • Other 1.0%