TestNG
Getting started
If using Gradle...
plugins {
id 'io.testery' version '1.3'
}testery {
apiToken = System.getenv("TESTERY_API_TOKEN") // required
projectKey = "my-testery-project-key" // required
buildId = System.getenv("BUILD_ID") // required
commitHash = System.getenv("GIT_COMMIT") // optional
branch = System.getenv("GIT_BRANCH") // optional
}If using Maven...
Create a fat JAR file
Upload your testery.jar file to Testery
Run your tests in Testery
Running TestNG tests on Testery
PreviousUpdate Pytest to Generate JUnit XML for Import into TesteryNextUpdating TestNG Tests to Output in JUnit XML Format
Last updated
Was this helpful?