allure-framework / allure-maven

Maven plugin generating Allure report from test results

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Allure Maven Plugin

Build release-badge

This plugin generates Allure report by existing XML files during Maven build process.

Getting Started

  • Add following lines into your pom.xml build section:
<plugin>
	<groupId>io.qameta.allure</groupId>
	<artifactId>allure-maven</artifactId>
	<version>2.10.0</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

Configuration

You can configurate allure version like here:

<plugin>
	<groupId>io.qameta.allure</groupId>
	<artifactId>allure-maven</artifactId>
	<version>2.10.0</version>
	<configuration>
		<reportVersion>2.14.0</reportVersion>
	</configuration>
</plugin>

Additional information can be found here.

Links

Contacts

About

Maven plugin generating Allure report from test results

License:Apache License 2.0


Languages

Language:Java 83.9%Language:Groovy 16.1%