[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F638G4BFTXWEGM7NHQ7125":3,"skill-same:01M7F638G4BFTXWEGM7NHQ7125":52},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":30,"commitSha":31,"skillDirectory":32,"forksCount":33,"repositoryHtmlUrl":34,"repositoryHomepageUrl":6,"ownerHtmlUrl":35,"ownerBlogUrl":6,"ownerDescription":36,"updatedAt":37,"install":38,"resources":51},"01M7F638G4BFTXWEGM7NHQ7125","testng-skill",null,"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\".","lza6\u002FArmor-piercing-system-prompts","lza6","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F128880206?v=4","01M7EB3K7WPX5T28EJ2NVHE6EG","Chinese-tingfeng","01M7EB3K97E1KQ16QWKJMFNGX8",11,"MIT","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftestng-skill\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: testng-skill\ndescription: '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\".'\nrisk: critical\nsource: https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Ftree\u002Fmain\u002Ftestng-skill\nsource_repo: LambdaTest\u002Fagent-skills\nsource_type: community\ndate_added: 2026-07-01\nlicense: MIT\nlicense_source: https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Fblob\u002Fmain\u002FLICENSE\n---\n\n# TestNG Testing Skill\n## When to Use\n\nUse 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\".\n\n\n## Core Patterns\n\n### Basic Test with Groups\n\n```java\nimport org.testng.annotations.*;\nimport org.testng.Assert;\n\npublic class LoginTest {\n    @BeforeMethod\n    public void setUp() { \u002F* setup *\u002F }\n\n    @Test(groups = \"smoke\")\n    public void testLoginSuccess() {\n        Assert.assertTrue(loginService.login(\"user@test.com\", \"password123\"));\n    }\n\n    @Test(groups = \"regression\", dependsOnMethods = \"testLoginSuccess\")\n    public void testAccessDashboard() {\n        Assert.assertNotNull(dashboard.getContent());\n    }\n\n    @Test(expectedExceptions = AuthenticationException.class)\n    public void testLoginInvalidPassword() {\n        loginService.login(\"user@test.com\", \"wrong\");\n    }\n\n    @AfterMethod\n    public void tearDown() { \u002F* cleanup *\u002F }\n}\n```\n\n### Data Providers\n\n```java\n@DataProvider(name = \"loginData\")\npublic Object[][] loginData() {\n    return new Object[][] {\n        {\"admin@test.com\", \"admin123\", true},\n        {\"user@test.com\", \"password\", true},\n        {\"invalid@test.com\", \"wrong\", false},\n    };\n}\n\n@Test(dataProvider = \"loginData\")\npublic void testLogin(String email, String password, boolean expected) {\n    Assert.assertEquals(loginService.login(email, password), expected);\n}\n```\n\n### TestNG XML Suite\n\n```xml\n\u003C!DOCTYPE suite SYSTEM \"https:\u002F\u002Ftestng.org\u002Ftestng-1.0.dtd\">\n\u003Csuite name=\"Regression\" parallel=\"tests\" thread-count=\"5\">\n  \u003Ctest name=\"Smoke\">\n    \u003Cgroups>\u003Crun>\u003Cinclude name=\"smoke\"\u002F>\u003C\u002Frun>\u003C\u002Fgroups>\n    \u003Cclasses>\u003Cclass name=\"tests.LoginTest\"\u002F>\u003C\u002Fclasses>\n  \u003C\u002Ftest>\n  \u003Ctest name=\"Full\">\n    \u003Cgroups>\u003Crun>\u003Cinclude name=\"regression\"\u002F>\u003Cexclude name=\"flaky\"\u002F>\u003C\u002Frun>\u003C\u002Fgroups>\n    \u003Cpackages>\u003Cpackage name=\"tests.*\"\u002F>\u003C\u002Fpackages>\n  \u003C\u002Ftest>\n\u003C\u002Fsuite>\n```\n\n### Parallel Execution\n\n```xml\n\u003Csuite parallel=\"methods\" thread-count=\"5\">   \u003C!-- Method level -->\n\u003Csuite parallel=\"classes\" thread-count=\"5\">    \u003C!-- Class level -->\n\u003Csuite parallel=\"tests\" thread-count=\"5\">      \u003C!-- Test level -->\n```\n\n### Soft Assertions\n\n```java\nSoftAssert soft = new SoftAssert();\nsoft.assertEquals(user.getName(), \"Alice\");\nsoft.assertEquals(user.getAge(), 25);\nsoft.assertTrue(user.isActive());\nsoft.assertAll();  \u002F\u002F Reports all failures at once\n```\n\n### Listeners\n\n```java\npublic class TestListener implements ITestListener {\n    @Override public void onTestFailure(ITestResult result) {\n        System.out.println(\"Failed: \" + result.getName());\n        \u002F\u002F Take screenshot, log, etc.\n    }\n}\n\n@Listeners(TestListener.class)\npublic class LoginTest { \u002F* ... *\u002F }\n```\n\n### Lifecycle Annotations\n\n```\n@BeforeSuite → @BeforeTest → @BeforeClass → @BeforeMethod → @Test → @AfterMethod → @AfterClass → @AfterTest → @AfterSuite\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| `dependsOnMethods` everywhere | Independent tests | Cascading failures |\n| No groups | `@Test(groups = \"smoke\")` | Can't run subsets |\n| Hard-coded test data | `@DataProvider` | Reusable |\n| Priority ordering | Independent tests | Fragile |\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Run suite | `mvn test -DsuiteXmlFile=testng.xml` |\n| Run group | `mvn test -Dgroups=smoke` |\n| Run class | `mvn test -Dtest=LoginTest` |\n| Reports | `test-output\u002Findex.html` |\n\n## Deep Patterns → `reference\u002Fplaybook.md`\n\n| § | Section | Lines |\n|---|---------|-------|\n| 1 | Project Setup & Configuration | Maven + Surefire config |\n| 2 | Suite XML Configuration | Multi-env, parallel, groups |\n| 3 | BaseTest & Thread-Safe Driver | ThreadLocal, ConfigReader |\n| 4 | Data Providers (Advanced) | Excel, JSON, CSV, parallel, cross-class |\n| 5 | Factory Pattern | Cross-browser matrix |\n| 6 | Listeners (Production Suite) | Retry, screenshot, timing |\n| 7 | Soft Assertions & Dependencies | Groups, method deps |\n| 8 | Page Object Integration | PageFactory, fluent POs |\n| 9 | Parallel Execution Strategies | Method\u002Fclass\u002Ftest\u002Fmixed |\n| 10 | Reporting Integration | Allure, ExtentReports |\n| 11 | CI\u002FCD Integration | GitHub Actions, Jenkins |\n| 12 | Debugging Quick-Reference | 12 common problems |\n| 13 | Best Practices Checklist | 14 items |\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream source and local project context.\n- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.\n- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n","# TestNG Testing Skill\n## When to Use\n\nUse 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\".\n\n\n## Core Patterns\n\n### Basic Test with Groups\n\n```java\nimport org.testng.annotations.*;\nimport org.testng.Assert;\n\npublic class LoginTest {\n    @BeforeMethod\n    public void setUp() { \u002F* setup *\u002F }\n\n    @Test(groups = \"smoke\")\n    public void testLoginSuccess() {\n        Assert.assertTrue(loginService.login(\"user@test.com\", \"password123\"));\n    }\n\n    @Test(groups = \"regression\", dependsOnMethods = \"testLoginSuccess\")\n    public void testAccessDashboard() {\n        Assert.assertNotNull(dashboard.getContent());\n    }\n\n    @Test(expectedExceptions = AuthenticationException.class)\n    public void testLoginInvalidPassword() {\n        loginService.login(\"user@test.com\", \"wrong\");\n    }\n\n    @AfterMethod\n    public void tearDown() { \u002F* cleanup *\u002F }\n}\n```\n\n### Data Providers\n\n```java\n@DataProvider(name = \"loginData\")\npublic Object[][] loginData() {\n    return new Object[][] {\n        {\"admin@test.com\", \"admin123\", true},\n        {\"user@test.com\", \"password\", true},\n        {\"invalid@test.com\", \"wrong\", false},\n    };\n}\n\n@Test(dataProvider = \"loginData\")\npublic void testLogin(String email, String password, boolean expected) {\n    Assert.assertEquals(loginService.login(email, password), expected);\n}\n```\n\n### TestNG XML Suite\n\n```xml\n\u003C!DOCTYPE suite SYSTEM \"https:\u002F\u002Ftestng.org\u002Ftestng-1.0.dtd\">\n\u003Csuite name=\"Regression\" parallel=\"tests\" thread-count=\"5\">\n  \u003Ctest name=\"Smoke\">\n    \u003Cgroups>\u003Crun>\u003Cinclude name=\"smoke\"\u002F>\u003C\u002Frun>\u003C\u002Fgroups>\n    \u003Cclasses>\u003Cclass name=\"tests.LoginTest\"\u002F>\u003C\u002Fclasses>\n  \u003C\u002Ftest>\n  \u003Ctest name=\"Full\">\n    \u003Cgroups>\u003Crun>\u003Cinclude name=\"regression\"\u002F>\u003Cexclude name=\"flaky\"\u002F>\u003C\u002Frun>\u003C\u002Fgroups>\n    \u003Cpackages>\u003Cpackage name=\"tests.*\"\u002F>\u003C\u002Fpackages>\n  \u003C\u002Ftest>\n\u003C\u002Fsuite>\n```\n\n### Parallel Execution\n\n```xml\n\u003Csuite parallel=\"methods\" thread-count=\"5\">   \u003C!-- Method level -->\n\u003Csuite parallel=\"classes\" thread-count=\"5\">    \u003C!-- Class level -->\n\u003Csuite parallel=\"tests\" thread-count=\"5\">      \u003C!-- Test level -->\n```\n\n### Soft Assertions\n\n```java\nSoftAssert soft = new SoftAssert();\nsoft.assertEquals(user.getName(), \"Alice\");\nsoft.assertEquals(user.getAge(), 25);\nsoft.assertTrue(user.isActive());\nsoft.assertAll();  \u002F\u002F Reports all failures at once\n```\n\n### Listeners\n\n```java\npublic class TestListener implements ITestListener {\n    @Override public void onTestFailure(ITestResult result) {\n        System.out.println(\"Failed: \" + result.getName());\n        \u002F\u002F Take screenshot, log, etc.\n    }\n}\n\n@Listeners(TestListener.class)\npublic class LoginTest { \u002F* ... *\u002F }\n```\n\n### Lifecycle Annotations\n\n```\n@BeforeSuite → @BeforeTest → @BeforeClass → @BeforeMethod → @Test → @AfterMethod → @AfterClass → @AfterTest → @AfterSuite\n```\n\n### Anti-Patterns\n\n| Bad | Good | Why |\n|-----|------|-----|\n| `dependsOnMethods` everywhere | Independent tests | Cascading failures |\n| No groups | `@Test(groups = \"smoke\")` | Can't run subsets |\n| Hard-coded test data | `@DataProvider` | Reusable |\n| Priority ordering | Independent tests | Fragile |\n\n## Quick Reference\n\n| Task | Command |\n|------|---------|\n| Run suite | `mvn test -DsuiteXmlFile=testng.xml` |\n| Run group | `mvn test -Dgroups=smoke` |\n| Run class | `mvn test -Dtest=LoginTest` |\n| Reports | `test-output\u002Findex.html` |\n\n## Deep Patterns → `reference\u002Fplaybook.md`\n\n| § | Section | Lines |\n|---|---------|-------|\n| 1 | Project Setup & Configuration | Maven + Surefire config |\n| 2 | Suite XML Configuration | Multi-env, parallel, groups |\n| 3 | BaseTest & Thread-Safe Driver | ThreadLocal, ConfigReader |\n| 4 | Data Providers (Advanced) | Excel, JSON, CSV, parallel, cross-class |\n| 5 | Factory Pattern | Cross-browser matrix |\n| 6 | Listeners (Production Suite) | Retry, screenshot, timing |\n| 7 | Soft Assertions & Dependencies | Groups, method deps |\n| 8 | Page Object Integration | PageFactory, fluent POs |\n| 9 | Parallel Execution Strategies | Method\u002Fclass\u002Ftest\u002Fmixed |\n| 10 | Reporting Integration | Allure, ExtentReports |\n| 11 | CI\u002FCD Integration | GitHub Actions, Jenkins |\n| 12 | Debugging Quick-Reference | 12 common problems |\n| 13 | Best Practices Checklist | 14 items |\n\n## Limitations\n\n- Use this skill only when the task clearly matches its upstream source and local project context.\n- Verify commands, generated code, dependencies, credentials, and external service behavior before applying changes.\n- Do not treat examples as a substitute for environment-specific tests, security review, or user approval for destructive or costly actions.\n",{"name":5,"risk":24,"source":25,"license":15,"date_added":26,"description":7,"source_repo":27,"source_type":28,"license_source":29},"critical","https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Ftree\u002Fmain\u002Ftestng-skill",1782864000000,"LambdaTest\u002Fagent-skills","community","https:\u002F\u002Fgithub.com\u002FLambdaTest\u002Fagent-skills\u002Fblob\u002Fmain\u002FLICENSE","main","d69096e239f2a89aabc2cd078c47664a9d3b1e11","05-技能与代理开发\u002Ftestng-skill",3,"https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts","https:\u002F\u002Fgithub.com\u002Flza6","个人vx：Tf00798\r\n个人✈：@TFGY999","2026-10-08 14:29:22",{"source":8,"skillName":5,"commands":39,"prompt":49,"zipAvailable":50},[40,43,46],{"tool":41,"command":42},"npx","npx skills add lza6\u002FArmor-piercing-system-prompts --skill testng-skill",{"tool":44,"command":45},"bunx","bunx skills add lza6\u002FArmor-piercing-system-prompts --skill testng-skill",{"tool":47,"command":48},"pnpm","pnpm dlx skills add lza6\u002FArmor-piercing-system-prompts --skill testng-skill","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F05-技能与代理开发\u002Ftestng-skill\u002FSKILL.md",true,[],[53,60,65,72,79,86],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":19},"01M7FFG485KY83TD6HSC4YPCMC","obsidian-clipper-template-creator","Guide for creating templates for the Obsidian Web Clipper. Use when you want to create a new clipping template, understand available variables, or format clipped content.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator\u002FSKILL.md",[],[],{"skillNo":61,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":19},"01M7FFG0T6AZ0STEJPSB3CX84K","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobsidian-clipper-template-creator-antigravity-awesome-skills-main\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":19},"01M7FFFY0QEM14SKWPDYGMXM2P","python-api","Programmatic Object-Detection-Metrics API guidance for BoundingBox, BoundingBoxes, Evaluator, enums, coordinate conversion, AP\u002FmAP semantics, and source-style import diagnostics.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Fpython-api\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":19},"01M7FFFVZQZ2GJ0C0TGP7JHD20","file-evaluation","Folder-based PASCAL VOC AP\u002FmAP evaluation from ground-truth and detection text files.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002Fsub-skills\u002Ffile-evaluation\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":19},"01M7FFFSFNYSE77SJ6PE1CK2DA","object-detection-metrics","Guides legacy Object-Detection-Metrics PASCAL VOC AP\u002FmAP evaluation from detection text folders and direct Python API classes.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fobject-detection-metrics\u002FSKILL.md",[],[],{"skillNo":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"publishedAt":19},"01M7FFFP0GCK1RVXBCPQ8APBMT","nx-workspace-patterns","Configure and optimize Nx monorepo workspaces. Use when setting up Nx, configuring project boundaries, optimizing build caching, or implementing affected commands.","https:\u002F\u002Fgithub.com\u002Flza6\u002FArmor-piercing-system-prompts\u002Fblob\u002Fmain\u002F07-后端与架构\u002Fnx-workspace-patterns\u002FSKILL.md",[],[]]