Permalink
Browse files

Merge pull request #3 from jonas/minor-improvements

Minor improvements
  • Loading branch information...
2 parents 96436e4 + 419ab70 commit 99e26a4c6502f2dd75b482e49ccee18e7683a06f @dkowis committed Apr 3, 2012
Showing with 7 additions and 5 deletions.
  1. +5 −3 README
  2. +1 −1 pom.xml
  3. +1 −1 src/test/java/com/rackspace/example/stackTest.java
View
8 README
@@ -1,17 +1,19 @@
-This Example project requires HEAD of cucumber-jvm at the moment for the World do block stuff
+This example project requires a recent version of cucumber-jvm for the World do block stuff
You can take the pom.xml as is, and then create a new project out of it.
Firstly, you run
mvn test -Pinitial-bundle
-To install the bundler gem and intialize a sample Gemfile.
+To install the bundler gem and initialize a sample Gemfile.
Then you should add the src/test/gems directory and commit it. After that you should add the src/test/gems directory
to .gitignore so you don't add any more gems.
Now you can treat the Gemfile and Gemfile.lock as files to be committed to your repo, and any time someone runs the tests
-the bundle install will be ran, and that will make sure you always have the gems available for testing, and that any
+the bundle install will be run, and that will make sure you always have the gems available for testing, and that any
updated gems are acquired and downloaded, but don't pollute your repo.
+The tests are running twice to demonstrate running it from JUnit as well as from the CLI. So you should disable one of them once you have decided which way you want to invoke cucumber.
+
Hooray!
View
2 pom.xml
@@ -11,7 +11,7 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
<name>Examples: Ruby Stack</name>
<properties>
- <cucumber-jvm-version>1.0.0.RC23</cucumber-jvm-version>
+ <cucumber-jvm-version>1.0.1</cucumber-jvm-version>
</properties>
<!-- Uncomment to use the snapshots, else install them by hand
View
2 src/test/java/com/rackspace/example/stackTest.java
@@ -6,6 +6,6 @@
import org.junit.runner.RunWith;
@RunWith(Cucumber.class)
-@Options(features = "RackStack.feature")
+@Options(features = "RackStack.feature", format = "pretty")
public class stackTest {
}

0 comments on commit 99e26a4

Please sign in to comment.