| name | fullstack-testing |
| description | Fullstack testing - unit, integration, E2E, coverage |
| sasmp_version | 1.3.0 |
| bonded_agent | 06-testing-strategy |
| bond_type | PRIMARY_BOND |
| atomic | true |
| single_responsibility | test_implementation |
| parameters | {"type":"object","required":["action"],"properties":{"action":{"type":"string","enum":["write_unit_test","write_integration_test","write_e2e_test","analyze_coverage"],"description":"The specific testing action to perform"},"test_framework":{"type":"string","enum":["vitest","jest","pytest","playwright","cypress"],"default":"vitest"},"target":{"type":"string","description":"The file or component to test"},"coverage_threshold":{"type":"number","minimum":0,"maximum":100,"default":80}}} |
| returns | {"type":"object","properties":{"success":{"type":"boolean"},"test_code":{"type":"string"},"files":{"type":"array","items":{"type":"object"}},"coverage":{"type":"object"}}} |
| retry | {"max_attempts":3,"backoff":"exponential","initial_delay_ms":1000,"jitter":true} |
| logging | {"level":"INFO","events":["test_written","coverage_analyzed","flaky_detected"],"metrics":["test_count","coverage_percentage","execution_time"]} |
Fullstack Testing Skill
Atomic skill for testing including unit tests, integration tests, and E2E tests.
Responsibility
Single Purpose: Write and manage tests for fullstack applications
Actions
write_unit_test
Write unit tests for a component or function.
{
action: "write_unit_test",
test_framework: "vitest",
target: "src/services/user.service.ts"
}
{
success: true,
test_code: "describe('UserService', () => {...})",
files: [
{ path: "src/services/user.service.test.ts", content: "..." }
],
coverage: { statements: 85, branches: 80, functions: 90, lines: 85 }
}
write_integration_test
Write integration tests for API endpoints.
write_e2e_test
Write E2E tests for user flows.
analyze_coverage
Analyze test coverage and identify gaps.
Validation Rules
function validateParams(params: SkillParams): ValidationResult {
if (!params.action) {
return { valid: false, error: };
}
(params. !== && !params.) {
{ : , : };
}
{ : };
}