Allure Cucumber-JVM Adaptor

This adaptor allows to generate allure xml reports after cucumber-jvm Junit test execution. (Scenario -> Test)

License

License

Categories

Categories

Cucumber Application Testing & Monitoring
GroupId

GroupId

io.tapack
ArtifactId

ArtifactId

allure-cucumber-jvm-adaptor
Last Version

Last Version

0.2
Release Date

Release Date

Type

Type

jar
Description

Description

Allure Cucumber-JVM Adaptor
This adaptor allows to generate allure xml reports after cucumber-jvm Junit test execution. (Scenario -> Test)
Project URL

Project URL

https://github.com/tapack/allure-cucumber-jvm-adaptor
Source Code Management

Source Code Management

https://github.com/tapack/allure-cucumber-jvm-adaptor

Download allure-cucumber-jvm-adaptor

How to add to project

<!-- https://jarcasting.com/artifacts/io.tapack/allure-cucumber-jvm-adaptor/ -->
<dependency>
    <groupId>io.tapack</groupId>
    <artifactId>allure-cucumber-jvm-adaptor</artifactId>
    <version>0.2</version>
</dependency>
// https://jarcasting.com/artifacts/io.tapack/allure-cucumber-jvm-adaptor/
implementation 'io.tapack:allure-cucumber-jvm-adaptor:0.2'
// https://jarcasting.com/artifacts/io.tapack/allure-cucumber-jvm-adaptor/
implementation ("io.tapack:allure-cucumber-jvm-adaptor:0.2")
'io.tapack:allure-cucumber-jvm-adaptor:jar:0.2'
<dependency org="io.tapack" name="allure-cucumber-jvm-adaptor" rev="0.2">
  <artifact name="allure-cucumber-jvm-adaptor" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.tapack', module='allure-cucumber-jvm-adaptor', version='0.2')
)
libraryDependencies += "io.tapack" % "allure-cucumber-jvm-adaptor" % "0.2"
[io.tapack/allure-cucumber-jvm-adaptor "0.2"]

Dependencies

compile (9)

Group / Artifact Type Version
ru.yandex.qatools.allure : allure-core pom 1.4.22
ru.yandex.qatools.allure : allure-java-aspects jar 1.4.22
ru.yandex.qatools.allure : allure-commons jar 1.4.22
info.cukes : cucumber-junit jar 1.2.4
info.cukes : cucumber-core jar 1.2.4
info.cukes : cucumber-java jar 1.2.4
org.apache.commons : commons-lang3 jar 3.3.2
org.slf4j : slf4j-simple jar 1.7.14
info.cukes : gherkin jar 2.12.2

Project Modules

There are no modules declared in this project.

release Maven Central

Allure Cucumber-JVM Adaptor

This adaptor allows to generate allure xml reports after cucumber-jvm Junit test execution. (Scenario -> Test)

Difference from original adaptor

Is other mapping:

  • Feature -> Allure Test Suite
  • Scenario -> Allure Test Case
  • Step -> Allure Step
  • Scenario Outline -> Allure Test Cases

Usage

Simply add allure-allure-cucumber-jvm-adaptor as dependency to your project and add build section with adaptor listener:

<project>
...
    <dependencies>
        <dependency>
            <groupId>io.tapack</groupId>
            <artifactId>allure-cucumber-jvm-adaptor</artifactId>
            <version>0.2</version>
        </dependency>
    </dependencies>
        <build>
        <plugins>
            <plugin>
                <groupId>org.apache.maven.plugins</groupId>
                <artifactId>maven-surefire-plugin</artifactId>
                <version>2.18.1</version>
                <configuration>
                    <testFailureIgnore>false</testFailureIgnore>
                    <argLine>
                        -javaagent:${settings.localRepository}/org/aspectj/aspectjweaver/${aspectj.version}/aspectjweaver-${aspectj.version}.jar
                    </argLine>
                    <properties>
                        <property>
                            <name>listener</name>
                            <value>io.tapack.allure.cucumberjvm.AllureCucumberListener</value>
                        </property>
                    </properties>
                </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

io.tapack

Versions

Version
0.2