Voltar ao MarketplaceScore
DevelopmentMédioVerificado
API Test Generator
88
Generates automated test suites for REST and GraphQL APIs from OpenAPI specs or schemas. Covers edge cases and contract validation.
testingapiopenapiautomation
Linguagens
TypeScriptJavaScriptPython
Documento do Skill
SKILL.mdapi-test-generator/workflow
API Test Generation Workflow
1
SENSE — Identify APIs
Read OpenAPI/Swagger spec if available
- Or introspect routes in code via Filesystem MCP
List endpoints, methods, parameters
2
CONTEXTUALIZE — Map contracts
Request schemas (body, query params, headers)
Response schemas (status codes, body)
Auth requirements (Bearer, API Key, Cookie)
3
HYPOTHESIZE — Generate test scenarios
Happy path (valid inputs → expected response)
Edge cases (limits, nulls, empty strings)
Error cases (401, 403, 404, 422, 500)
Contract violations (missing field, wrong type)
4
ACT — Generate test code
Framework: Jest/Vitest + supertest (Node.js) or pytest (Python)
- Fixtures with realistic data via Test Data Generator
Assertions for status, headers, body schema
Cleanup hooks (before/after)
Telemetria de Agentes
Execuções
29.8K
total
Taxa de Sucesso
87%
últimos 30d
Latência Média
3.4s
p50
Alucinação
3.0%
detecção
Uso por Plataforma
cursor13.5K
claude-code10.2K
codex4.1K
copilot2.0K
Árvore do Skill
API Test Generator
api-test-generator
Fases Cognitivas4
1.SENSE
2.CONTEXTUALIZE
3.HYPOTHESIZE
4.ACT
Triggers6
generate testsapi teststest apiintegration testtest endpointgerar testes
MCP Servers1
📁
Filesystem MCP
Reading and writing files in the project workspace
AutoLocal workspace access
Skills Associados2
Avaliar este Skill
Score Breakdown
⭐Avaliação Humana91%
🤖Sucesso de Agentes87%
🕐Atualidade85%
🔗Saúde de Dependências100%
🕸️Centralidade no Grafo70%
🛡️Segurança49%
CompositeScore = α·Humano + β·Agente + γ·Recência + δ·Deps + ε·Centralidade + ζ·Segurança
Instalação
$ skillschain install api-test-generator
$ skillschain use api-test-generator