Table Driven Test
Verifies database behavior against predefined tables and expected outcomes, ensuring consistent results across deployments.
Install on your platform
We auto-selected Claude Code based on this skill’s supported platforms.
Run in terminal (recommended)
claude mcp add table-driven-test npx -- -y @trustedskills/table-driven-test
Or manually add to ~/.claude/settings.json
{
"mcpServers": {
"table-driven-test": {
"command": "npx",
"args": [
"-y",
"@trustedskills/table-driven-test"
]
}
}
}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 tests defined as tables. It can process test data, compare expected outcomes against actual results, and report on success or failure based on predefined criteria within the table structure. This facilitates automated testing workflows directly within an AI agent's capabilities.
When to use it
- Automated Regression Testing: Run a suite of tests after code changes to ensure existing functionality remains intact.
- Data Validation: Verify that data transformations or imports produce the expected results by comparing against predefined test cases in a table format.
- API Testing: Test API endpoints with various inputs and validate responses using a structured, tabular approach.
- Configuration Verification: Confirm that system configurations are set up correctly based on tests defined within tables.
Key capabilities
- Table-driven test execution
- Comparison of expected vs. actual results
- Automated reporting of test outcomes (pass/fail)
- Processing of tabular data as test input
Example prompts
- "Run the 'api_endpoint_tests' table."
- "Execute the tests defined in the 'data_validation_table'."
- "Process and report on the results from the 'regression_test_suite'."
Tips & gotchas
The skill requires test data to be formatted as tables. Ensure the table structure adheres to the expected format for accurate execution and reporting.
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.