Junit Report Uploader

TestOps Junit Report Uploader

Лицензия

Лицензия

Категории

Категории

JUnit Тестирование компонентов
Группа

Группа

com.katalon.testops
Идентификатор

Идентификатор

junit-report-uploader-plugin
Последняя версия

Последняя версия

1.0.2
Дата

Дата

Тип

Тип

maven-plugin
Описание

Описание

Junit Report Uploader
TestOps Junit Report Uploader
Организация-разработчик

Организация-разработчик

Katalon, LLC.

Скачать junit-report-uploader-plugin

Как подключить последнюю версию

<plugin>
    <groupId>com.katalon.testops</groupId>
    <artifactId>junit-report-uploader-plugin</artifactId>
    <version>1.0.2</version>
</plugin>

Зависимости

compile (4)

Идентификатор библиотеки Тип Версия
org.apache.commons : commons-lang3 jar 3.10
org.apache.maven : maven-plugin-api jar 3.6.3
org.apache.maven : maven-core jar 3.6.3
com.katalon.testops : common jar 1.0.0

provided (1)

Идентификатор библиотеки Тип Версия
org.apache.maven.plugin-tools : maven-plugin-annotations jar 3.6.0

Модули Проекта

Данный проект не имеет модулей.

Katalon TestOps JUnit Plugin

This is the Maven plugin to automatically upload JUnit reports to Katalon TestOps.

Please refer to https://github.com/katalon-studio-samples/junit-report-uploader-sample for a sample project.

Usage

  1. Add the following plugins to build configuration in pom.xml:
<build>
    <plugins>
        <plugin>
            <groupId>org.apache.maven.plugins</groupId>
            <artifactId>maven-surefire-plugin</artifactId>
            <version>3.0.0-M5</version>
            <configuration>
                <testFailureIgnore>true</testFailureIgnore>
            </configuration>
        </plugin>
        <plugin>
            <groupId>com.katalon.testops</groupId>
            <artifactId>junit-report-uploader-plugin</artifactId>
            <version>1.0.1-2</version>
            <executions>
                <execution>
                    <phase>test</phase>
                    <goals>
                        <goal>junit-uploader</goal>
                    </goals>
                    <configuration>
                        <apiKey>${testops.apiKey}</apiKey>
                        <projectId>${testops.projectId}</apiKey>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Don't forget to include <testFailureIgnore>true</testFailureIgnore> to surefile's configuration.

  1. Specify testops.apiKey and testops.projectId properties in mvn test command:
mvn test -Dtestops.apiKey=<Your Katalon TestOps API Key> -Dtestops.projectId=<Katalon TestOps Project Id>

Configuration

The plugin can be configured by adding the <configuration> tag in pom.xml:

<plugin>
    <groupId>com.katalon.testops</groupId>
    <artifactId>junit-report-uploader-plugin</artifactId>
    <version>1.0.1-1</version>
    <executions>
        <execution>
            <phase>test</phase>
            <goals>
                <goal>junit-uploader</goal>
            </goals>
            <configuration>
                <apiKey>${testops.apiKey}</apiKey>
                <projectId>${testops.projectId}</apiKey>
            </configuration>
        </execution>
    </executions>
</plugin>

Supported options:

Mandatory Option Description
apiKey The API Key used to authenticate and upload reports to the Katalon TestOps. Learn more.
projectId The project ID of the Katalon TestOps Project to submit the JUnit reports to.
Optional Option Description
serverUrl For TestOps on-premises
isSilent Do not stop the mvn command upon uploading failure
proxyExceptionList
proxyOption NO_PROXY, USE_SYSTEM, MANUAL_CONFIG
proxyServerAddress
proxyServerPort
proxyServerType HTTP, HTTPS, SOCKS
proxyUsername
proxyPassword
reportPath
com.katalon.testops

Katalon Studio

Katalon Studio: Best automated testing tool for Web, Mobile, & API testing. NOTE: Sample projects have been moved to https://github.com/katalon-studio-samples.

Версии библиотеки

Версия
1.0.2
1.0.1-2
1.0.1-1
1.0.1
1.0.0