This adaptor allows to generate allure xml reports after cucumber-jvm tests execution.
Example projects is located at: https://github.com/allure-examples/allure-cucumber-jvm-example
Simply add allure-allure-cucumber-jvm-adaptor as dependency to your project and add build section with adaptor plugin:
<project> ... <dependencies> <dependency> <groupId>ru.yandex.qatools.allure</groupId> <artifactId>allure-cucumber-jvm-adaptor</artifactId> <version>1.6.1</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>2.19.1</version> <configuration> <testFailureIgnore>false</testFailureIgnore> <argLine> -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar -Dcucumber.options="--plugin ru.yandex.qatools.allure.cucumberjvm.AllureReporter" </argLine> </configuration> <dependencies> <dependency> <groupId>org.aspectj</groupId> <artifactId>aspectjweaver</artifactId> <version>1.7.4</version> </dependency> </dependencies> </plugin> </plugins> </build> </project>
Then execute mvn clean test goal. After tests executed allure xml files will be placed in target/allure-results/ directory
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4