Skip to content
This repository has been archived by the owner on Jun 24, 2020. It is now read-only.

cucumber-attic/cucumber-jvm-jruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Maven Central

Maven

To use cucumber-jvm-clojure in your project, add the following dependency to your pom.xml:

<dependency>
    <groupId>io.cucumber</groupId>
    <artifactId>cucumber-jruby</artifactId>
    <version>2.0.1</version>
    <scope>test</scope>
</dependency>

Using JRuby

Run the features:

jruby bin/cucumber-jvm --glue src/test/resources src/test/resources

Customizing JRuby

You can define GEM_PATH to tell JRuby where to load gems from.

These values can be defined in any of the three places:

  • In an Environment variable
  • In a System property (for example -DGEM_PATH=src/test/gems
  • In a cucumber.properties properties file on your CLASSPATH.

Sample cucumber.properties file:

GEM_PATH=${basedir}/src/test/gems