testng-skill
Generates TestNG tests in Java with groups, data providers, parallel execution, XML suite configuration, and listeners. Use when user mentions "TestNG", "@DataProvider", "testng.xml", "groups". Triggers on: "TestNG", "@DataProvider", "testng.xml", "TestNG suite", "parallel tests Java".
npx skills add sickn33/agentic-awesome-skills --skill testng-skill --agent claude-code
Same command for any agent — swap --agent for codex, cursor, copilot.
Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.
# TestNG Testing Skill ## When to Use Use this skill when you need generates TestNG tests in Java with groups, data providers, parallel execution, XML suite configuration, and listeners. Use when user mentions "TestNG", "@DataProvider", "testng.xml", "groups". Triggers on: "TestNG", "@DataProvider", "testng.xml", "TestNG suite", "parallel tests Java". ## Core Patterns ### Basic Test with Groups ```java import org.testng.annotations.*; import org.testng.Assert; public class LoginTest { @BeforeMethod public void setUp() { /* setup */ } @Test(groups = "smoke") public void testLoginSuccess() { Assert.assertTrue(loginService.login("user@test.com", "password123")); } @Test(groups = "regression", dependsOnMethods = "testLoginSuccess") public void testAccessDashboard() { Assert.assertNotNull(dashboard.getContent()); } @Test(expectedExceptions = AuthenticationException.class) public void testLoginInvalidPassword() { loginService.login("user@test.com", "wrong"); } @AfterMethod public void tearDown() { /* cleanup */ } } ``` ### Data Providers ```java @DataProvider(name = "loginData") public Object[][] loginData() { return new Object[][] { {"admin@test.com", "admin123", true}, {"user@test.com"
- When to Use
- Core Patterns
- Basic Test with Groups
- Data Providers
- TestNG XML Suite
- Parallel Execution
- Soft Assertions
- Listeners
- Lifecycle Annotations
- Anti-Patterns
- Quick Reference
- Deep Patterns → reference/playbook.md
- Limitations
What does the testng-skill skill do?
Generates TestNG tests in Java with groups, data providers, parallel execution, XML suite configuration, and listeners. Use when user mentions "TestNG", "@DataProvider", "testng.xml", "groups". Triggers on: "TestNG", "@DataProvider", "testng.xml", "TestNG suite", "parallel tests Java".
How do I install it?
Run `npx skills add sickn33/agentic-awesome-skills --skill testng-skill --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.
Where does this skill come from?
From sickn33/agentic-awesome-skills, a repository with 44,414 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.
Is a popular skill a good skill?
Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.