TestOps Junit

Katalon TestOps SDK

License

License

Categories

Categories

JUnit Unit Testing
GroupId

GroupId

com.katalon
ArtifactId

ArtifactId

testops-junit4
Last Version

Last Version

1.1.4
Release Date

Release Date

Type

Type

jar
Description

Description

TestOps Junit
Katalon TestOps SDK
Project URL

Project URL

https://github.com/katalon-studio/testops-junit4
Project Organization

Project Organization

Katalon, LLC.
Source Code Management

Source Code Management

https://github.com/katalon-studio/testops-junit4

Download testops-junit4

How to add to project

<!-- https://jarcasting.com/artifacts/com.katalon/testops-junit4/ -->
<dependency>
    <groupId>com.katalon</groupId>
    <artifactId>testops-junit4</artifactId>
    <version>1.1.4</version>
</dependency>
// https://jarcasting.com/artifacts/com.katalon/testops-junit4/
implementation 'com.katalon:testops-junit4:1.1.4'
// https://jarcasting.com/artifacts/com.katalon/testops-junit4/
implementation ("com.katalon:testops-junit4:1.1.4")
'com.katalon:testops-junit4:jar:1.1.4'
<dependency org="com.katalon" name="testops-junit4" rev="1.1.4">
  <artifact name="testops-junit4" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.katalon', module='testops-junit4', version='1.1.4')
)
libraryDependencies += "com.katalon" % "testops-junit4" % "1.1.4"
[com.katalon/testops-junit4 "1.1.4"]

Dependencies

compile (4)

Group / Artifact Type Version
org.slf4j : slf4j-api jar 1.7.30
org.slf4j : slf4j-simple jar 1.7.30
junit : junit jar 4.13.1
com.katalon : testops-commons jar 1.1.6

Project Modules

There are no modules declared in this project.

Katalon TestOps JUnit

This is the JUnit Reporter for submitting test results to Katalon TestOps.

Usage

It is recommended to follow instructions in Katalon TestOps Project page.

Installation

Add the dependency to pom.xml:

<dependency>
    <groupId>com.katalon</groupId>
    <artifactId>testops-junit4</artifactId>
    <version>1.1.2</version>
</dependency>

Configuration

Configurations will be read from environment variables, Java system properties, and properties file in this order.

  • testops.server-url (environment variable: `TESTOPS_SERVER_URL)

Katalon TestOps endpoint (default: https://testops.katalon.io).

  • testops.api-key (environment variable: TESTOPS_API_KEY)

Your Katalon TestOps API Key.

  • testops.project-id (environment variable: TESTOPS_PROJECT_ID)

The Katalon TestOps project that will receive the test results.

Via environment variables

  • Linux
export TESTOPS_SERVER_URL=https://testops.katalon.io
export TESTOPS_API_KEY=<your API key>
export TESTOPS_PROJECT_ID=<your project ID>
mvn test
  • Windows
set TESTOPS_SERVER_URL=https://testops.katalon.io
set TESTOPS_API_KEY=<your API key>
set TESTOPS_PROJECT_ID=<your project ID>
mvn test

Via Java system properties

mvn test -Dtestops.serverUrl=https://testops.katalon.io -Dtestops.api-key=<your API key> -Dtestops.project-id=<your project ID>

Via properties file

Create a testops.properties file in the resources directory

testops.server-url=htts://testops.katalon.io
testops.api-key=
testops.project-id=

Run the command:

mvn test

Samples

https://github.com/katalon-studio-samples/testops-junit4-sample

com.katalon

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.

Versions

Version
1.1.4
1.1.3
1.1.2
1.1.0
1.0.1
1.0.0