Skip to content
This repository has been archived by the owner on Dec 14, 2018. It is now read-only.

allure-framework/allure-cucumberjvm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

88 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

[DEPRICATED]

Allure Cucumber-JVM Adaptor

This adaptor allows to generate allure xml reports after cucumber-jvm tests execution.

Example project

Example projects is located at: https://github.com/allure-examples/allure-cucumber-jvm-example

Usage

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

release Maven Central build