Git Product home page Git Product logo

teotikalki / cuke4duke Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cucumber-attic/cuke4duke

0.0 2.0 0.0 15.57 MB

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

Home Page: http://wiki.github.com/aslakhellesoy/cuke4duke

License: MIT License

Ruby 6.75% Java 68.58% Scala 23.02% HTML 0.22% Clojure 0.17% Ioke 0.70% JavaScript 0.31% Gherkin 0.26%

cuke4duke's Introduction

WARNING

This project is defunkt, and has been replaced by Cucumber-JVM. For more info see this thread.

Cuke4Duke

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

Building Cuke4Duke

First of all, you need Maven installed.
Then you’ll need git

You’ll also need JRuby installed to build Cuke4Duke. If you’re on OS X or Linux it’s recommended you install JRuby
with RVM

With JRuby installed – bootstrap your environment by installing some gems:

Using RVM:


mkdir -p /.m2/repository/.jruby
GEM_HOME=
/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby gem install bundler
GEM_HOME=~/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby /.m2/repository/.jruby/bin/bundle install
GEM_HOME=
/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby ~/.m2/repository/.jruby/bin/rake install

Not using RVM:


mkdir -p /.m2/repository/.jruby
GEM_HOME=
/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby jruby -S gem install bundler
GEM_HOME=~/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby jruby -S bundle install
GEM_HOME=~/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby jruby -S rake install

With the gems installed, build the whole shebang (including the examples):

Using RVM:

GEM_HOME=~/.m2/repository/.jruby GEM_PATH=~/.m2/repository/.jruby ~/.m2/repository/.jruby/bin/rake build_all

Not using RVM:

jruby -S rake build_all

Release process

First, bump the release number:

rake remove_snapshots

Build again:

rake build_all

If all is OK, commit:

git commit -m "Release"

And release:

rake release

Finally, bump version:

rake add_snapshots

And commit again:

git commit -m "Starting new development cycle"

cuke4duke's People

Contributors

aslakhellesoy avatar torbjornvatn avatar oc avatar ovstetun avatar teigen avatar darrinholst avatar olabini avatar jesperronn avatar rapaul avatar senny avatar switzerland avatar henningjensen avatar bmabey avatar ckoenig avatar hugojosefson avatar mjul avatar antifun avatar richardlawrence avatar stuarthalloway avatar dhomann avatar

Watchers

James Cloos avatar Teoti Nathaniel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.