API Test Suite Builder
技能 已验证 活跃Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.
Use when the user asks to generate API tests, create integration test suites, test REST endpoints, or build contract tests.
功能
- Scan API routes across frameworks
- Auto-generate auth and input validation tests
- Create test suites for Vitest+Supertest (Node) or Pytest+httpx (Python)
- Cover edge cases like pagination, file uploads, and rate limiting
使用场景
- Generate test scaffolds for new APIs
- Create baseline test coverage for legacy APIs
- Verify existing tests against route definitions
- Prepare for API security audits
非目标
- Executing tests directly
- Managing test environments
- Generating tests for non-API code
工作流
- Scan codebase for API route definitions
- Extract HTTP methods, paths, and auth requirements
- Apply test generation patterns for auth, input validation, etc.
- Generate test files for specified framework (Vitest/Pytest)
- Provide code snippets and explanations for manual integration
实践
- API Testing
- Test Automation
- Code Quality
安装
请先添加 Marketplace
/plugin marketplace add alirezarezvani/claude-skills/plugin install engineering@claude-code-skills质量评分
已验证类似扩展
DBHub 测试技能
98为 DBHub 运行和排查测试,包括单元测试、使用 Testcontainers 的集成测试以及特定于数据库的测试。在被要求运行测试、修复测试失败、调试集成测试、排查 Docker/数据库容器问题或添加新测试时使用。在验证代码更改是否正常工作或需要调查 CI 测试失败时也使用。
Vue Testing Best Practices
100Use for Vue.js testing. Covers Vitest, Vue Test Utils, component testing, mocking, testing patterns, and Playwright for E2E testing.
Test Cli Application
99Write integration tests for a Node.js CLI application using the built-in node:test module. Covers the exec helper pattern, output assertions, filesystem state verification, cleanup hooks, JSON output parsing, error case testing, and state restoration after destructive tests. Use when adding tests to an existing CLI, testing a new command, verifying adapter behavior across frameworks, or setting up CI for a CLI tool.
Python Testing Strategies
99Testing patterns for FastAPI with pytest-asyncio, httpx AsyncClient, fixtures, and test data factories. Use when writing tests, setting up test infrastructure, or improving coverage in a FastAPI project.
Python Tests with Pytest
98使用 pytest 编写和评估有效的 Python 测试。适用于编写测试、审查测试代码、调试测试失败或改进测试覆盖率时。涵盖测试设计、夹具、参数化、模拟和异步测试。
Pytest
98pytest - Python's most powerful testing framework with fixtures, parametrization, plugins, and framework integration for FastAPI, Django, Flask