Skip to content

Commit

Permalink
Trying to reproduce duplicate exception, but cannot reproduce: mvn cl…
Browse files Browse the repository at this point in the history
…ean install exec:java -Dcucumber-tags=@foo
  • Loading branch information
aslakhellesoy committed Apr 19, 2012
1 parent 5db1d0c commit 6488479
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 0 deletions.
35 changes: 35 additions & 0 deletions examples/java-helloworld/pom.xml
Expand Up @@ -20,6 +20,41 @@
<target>1.6</target>
</configuration>
</plugin>

<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.2.1</version>
<executions>
<execution>
<phase>test</phase>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<classpathScope>test</classpathScope>
<mainClass>cucumber.cli.Main</mainClass>
<arguments>
<argument>--format</argument>
<argument>pretty</argument>
<argument>--format</argument>
<argument>html:${project.basedir}/target</argument>
<argument>--tags</argument>
<argument>~@wip</argument>
<argument>--tags</argument>
<argument>~@notautomatable</argument>
<argument>--tags</argument>
<argument>~@bug</argument>
<argument>--tags</argument>
<argument>${cucumber-tags}</argument>
<argument>--glue</argument>
<argument>cucumber.examples</argument>
<argument>src/test/resources</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>

Expand Down
Expand Up @@ -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 {
}
}
@@ -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

0 comments on commit 6488479

Please sign in to comment.