This plugin generates Allure report by existing XML files during Maven build process.
- Add following lines into your
pom.xml
build section:
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.9</version>
</plugin>
mvn clean test
- run your tests
You can generate a report using one of the following command:
mvn allure:serve
Report will be generated into temp folder. Web server with results will start.
mvn allure:report
Report will be generated tо directory: target/site/allure-maven/index.html
You can configurate allure version like here:
<plugin>
<groupId>io.qameta.allure</groupId>
<artifactId>allure-maven</artifactId>
<version>2.8</version>
<configuration>
<reportVersion>2.3.1</reportVersion>
</configuration>
</plugin>
Additional information can be found here.
- Mailing list: [email protected]
- Gitter chat room: https://gitter.im/allure-framework/allure-core
- StackOverflow tag: Allure