https://github.com/katalon-studio/testops-testng
TestNG Reporter for submitting test results to Katalon TestOps.
https://github.com/katalon-studio/testops-testng
critical exempted katalon-testops
Last synced: 3 months ago
JSON representation
TestNG Reporter for submitting test results to Katalon TestOps.
- Host: GitHub
- URL: https://github.com/katalon-studio/testops-testng
- Owner: katalon-studio
- Created: 2020-12-22T03:34:50.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T14:31:07.000Z (about 2 years ago)
- Last Synced: 2025-02-17T09:35:05.829Z (8 months ago)
- Topics: critical, exempted, katalon-testops
- Language: Java
- Homepage:
- Size: 51.8 KB
- Stars: 1
- Watchers: 5
- Forks: 0
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Katalon TestOps TestNG
This is the TestNG 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`:
```xml
com.katalon
testops-testng
1.1.2```
### 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=
export TESTOPS_PROJECT_ID=
mvn test
```* Windows
```
set TESTOPS_SERVER_URL=https://testops.katalon.io
set TESTOPS_API_KEY=
set TESTOPS_PROJECT_ID=
mvn test
```#### Via Java system properties
```
mvn test -Dtestops.serverUrl=https://testops.katalon.io -Dtestops.api-key= -Dtestops.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-testng-sample