Skip to content

Commit

Permalink
added cucumber reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
martinlau committed Jul 11, 2013
1 parent 059b449 commit a520e3b
Show file tree
Hide file tree
Showing 2 changed files with 37 additions and 1 deletion.
36 changes: 36 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>net.masterthought</groupId>
<artifactId>maven-cucumber-reporting</artifactId>
<version>${maven-cucumber-reporting.version}</version>
<executions>
<execution>
<id>generate</id>
<phase>verify</phase>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/cucumber-html-reports</outputDirectory>
<cucumberOutput>${project.build.directory}/cucumber.json</cucumberOutput>
<enableFlashCharts>false</enableFlashCharts>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
Expand Down Expand Up @@ -207,6 +226,7 @@
<usedDependency>com.h2database:h2</usedDependency>
<usedDependency>com.mattbertolini:liquibase-slf4j</usedDependency>
<usedDependency>com.mchange:c3p0</usedDependency>
<usedDependency>info.cukes:gherkin</usedDependency>
<usedDependency>info.cukes:cucumber-html</usedDependency>
<usedDependency>info.cukes:cucumber-spring</usedDependency>
<usedDependency>javax.servlet:jstl</usedDependency>
Expand Down Expand Up @@ -464,6 +484,10 @@
<groupId>com.github.github</groupId>
<artifactId>site-maven-plugin</artifactId>
</plugin>
<plugin>
<groupId>net.masterthought</groupId>
<artifactId>maven-cucumber-reporting</artifactId>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
Expand Down Expand Up @@ -573,6 +597,12 @@
<version>${cucumber.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>gherkin</artifactId>
<version>${gherkin.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>jstl</artifactId>
Expand Down Expand Up @@ -887,6 +917,10 @@
<groupId>info.cukes</groupId>
<artifactId>cucumber-html</artifactId>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>gherkin</artifactId>
</dependency>
<dependency>
<groupId>info.cukes</groupId>
<artifactId>cucumber-core</artifactId>
Expand Down Expand Up @@ -1075,6 +1109,7 @@
<maven-assembly-plugin.version>2.4</maven-assembly-plugin.version>
<maven-clean-plugin.version>2.5</maven-clean-plugin.version>
<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>
<maven-cucumber-reporting.version>0.0.4</maven-cucumber-reporting.version>
<maven-deploy-plugin.version>2.7</maven-deploy-plugin.version>
<maven-enforcer-plugin.version>1.2</maven-enforcer-plugin.version>
<maven-failsafe-plugin.version>2.14.1</maven-failsafe-plugin.version>
Expand Down Expand Up @@ -1105,6 +1140,7 @@
<cucumber-html.version>0.2.3</cucumber-html.version>
<font-awesome.version>3.2.1</font-awesome.version>
<guava.version>14.0.1</guava.version>
<gherkin.version>2.11.8</gherkin.version>
<h2.version>1.3.172</h2.version>
<hibernate.version>4.2.3.Final</hibernate.version>
<hibernate-jpa-2.0-api.version>1.0.1.Final</hibernate-jpa-2.0-api.version>
Expand Down
2 changes: 1 addition & 1 deletion src/test/kotlin/io/fixture/feature/FixtureFeatureIT.kt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import org.junit.Ignore
[Cucumber.Options(
format = array(
// "junit:target/failsafe-reports/TEST-io.fixture.feature.FixtureFeatureIT-Cucumber.xml",
"html:target/cucumber"
"json:target/cucumber.json"
// TODO Reenable when cucumber > 1.1.3
// "pretty"
),
Expand Down

0 comments on commit a520e3b

Please sign in to comment.