Skip to content

UkrSoftTech/reportportal-agent-java-junit5

 
 

Repository files navigation

agent-java-junit5

ReportPortal JUnit5 Integration

The repository contains JUnit5 Extension for ReportPortal integration.

Getting Started

Maven

<repositories>
    <repository>
        <id>bintray</id>
        <url>http://dl.bintray.com/epam/reportportal</url>
    </repository>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>

<dependency>
   <groupId>com.epam.reportportal</groupId>
   <artifactId>agent-java-junit5</artifactId>
   <version>$LATEST_VERSION</version>
</dependency>

Automatic Extension Registration (optional)

<build>
    <plugins>
        <plugin>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>2.22.0</version>
            <configuration>
                <properties>
                    <configurationParameters>
                        junit.jupiter.extensions.autodetection.enabled = true
                    </configurationParameters>
                </properties>
            </configuration>
        </plugin>
    </plugins>
</build>

Gradle

repositories {
    jcenter()
    mavenLocal()
    maven { url "http://dl.bintray.com/epam/reportportal" }
    maven { url "https://jitpack.io" }
}

testCompile 'com.epam.reportportal:agent-java-junit5:$LATEST_VERSION'

Automatic Extension Registration (optional)

test {
    useJUnitPlatform()
    systemProperty 'junit.jupiter.extensions.autodetection.enabled', true
}

Copyright Notice

Licensed under the Apache 2.0 license (see the LICENSE.md file).

About

JUnit5 integration for ReportPortal

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 100.0%