Testing framework for Java inspired by JUnit and NUnit, supporting annotations, data-driven testing, and parallel execution.
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>7.12.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
A simple TestNG test using the @Test annotation.
Use only TestNG annotations in TestNG tests; avoid importing JUnit annotations.
No dependency data recorded yet.