diff --git a/examples/java-helloworld/pom.xml b/examples/java-helloworld/pom.xml
index 2f5bdb6b61..cb0dc2bc6e 100644
--- a/examples/java-helloworld/pom.xml
+++ b/examples/java-helloworld/pom.xml
@@ -20,6 +20,41 @@
1.6
+
+
+ org.codehaus.mojo
+ exec-maven-plugin
+ 1.2.1
+
+
+ test
+
+ java
+
+
+
+
+ test
+ cucumber.cli.Main
+
+ --format
+ pretty
+ --format
+ html:${project.basedir}/target
+ --tags
+ ~@wip
+ --tags
+ ~@notautomatable
+ --tags
+ ~@bug
+ --tags
+ ${cucumber-tags}
+ --glue
+ cucumber.examples
+ src/test/resources
+
+
+
diff --git a/examples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/HelloStepdefs.java b/examples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/HelloStepdefs.java
index 01afc5f0b5..9a9c7ac5e7 100644
--- a/examples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/HelloStepdefs.java
+++ b/examples/java-helloworld/src/test/java/cucumber/examples/java/helloworld/HelloStepdefs.java
@@ -24,4 +24,8 @@ public void I_ask_it_to_say_hi() {
public void it_should_answer_with(String expectedHi) {
assertEquals(expectedHi, hi);
}
+
+ @Given("^I have navigated to the sign in page$")
+ public static void iHaveNavigatedToTheSignInPage() throws Exception {
+ }
}
diff --git a/examples/java-helloworld/src/test/resources/cucumber/examples/java/helloworld/sign_in.feature b/examples/java-helloworld/src/test/resources/cucumber/examples/java/helloworld/sign_in.feature
new file mode 100644
index 0000000000..c9c1b01372
--- /dev/null
+++ b/examples/java-helloworld/src/test/resources/cucumber/examples/java/helloworld/sign_in.feature
@@ -0,0 +1,11 @@
+Feature: Sign in Page
+
+ In order to easily sign in
+ As an end user
+ I want to easily navigate through the Sign in page
+
+ #TC1
+ @FOO
+ Scenario: 'Sign in' page design
+ Given I have navigated to the sign in page
+ Then the Sign In page is displayed as per designs
\ No newline at end of file