Testng Data Driven
Automates test execution using TestNG data providers, streamlining repetitive tests and improving efficiency.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add testng-data-driven npx -- -y @trustedskills/testng-data-driven
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"testng-data-driven": {
"command": "npx",
"args": [
"-y",
"@trustedskills/testng-data-driven"
]
}
}
}Requires Claude Code (claude CLI). Run claude --version to verify your install.
About This Skill
What it does
This skill allows AI agents to execute TestNG tests using a data-driven approach. It enables running the same test method multiple times with different sets of input data, providing comprehensive testing coverage. The skill automates the process of configuring and executing these data-driven tests within a TestNG framework.
When to use it
- Automated Regression Testing: Run existing test cases against various datasets to ensure changes haven't introduced regressions.
- Performance Testing with Different Data: Evaluate application performance under varying load conditions using different input data sets.
- Boundary Value Analysis: Test the limits of an application by providing edge-case data values through a data-driven approach.
- Data Validation: Verify that data transformations or calculations are performed correctly for multiple inputs.
Key capabilities
- TestNG framework integration
- Data-driven test execution
- Automated configuration of test parameters
- Multiple test runs with different datasets
Example prompts
- "Run the 'login' test with these CSV data:
[data]." - "Execute the 'calculate_total' test using the provided Excel sheet."
- "Perform a data-driven test on the 'process_order' function with data from this JSON file."
Tips & gotchas
- Requires familiarity with TestNG and its configuration.
- Ensure the data source (CSV, Excel, etc.) is properly formatted and accessible to the AI agent.
Tags
TrustedSkills Verification
Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.
Security Audits
| Gen Agent Trust Hub | Pass |
| Socket | Pass |
| Snyk | Pass |
🌐 Community
Passed automated security scans.