testng

Installation
SKILL.md

TestNG

TestNG is a testing framework setup inspired by JUnit and NUnit but introducing some new functionalities that make it more powerful and easier to use, such as parallel testing and data-driven testing.

When to Use

  • Complex Suites: You need granular control over which groups of tests run via XML configuration (testing.xml).
  • Parallel Execution: Historically better support for multi-threaded test execution than JUnit.
  • Dependencies: Tests that depend on other tests (@Test(dependsOnMethods = { "serverStarted" })).

Quick Start

import org.testng.Assert;
import org.testng.annotations.Test;
Related skills
Installs
1
GitHub Stars
7
First Seen
Feb 10, 2026