
testing-strategy
by GodSpeedAI
VibesPro: Infrastructure for AI-native development. The first Generative Development Environment (GDE) where your team's decisions become reusable patterns—express requirements naturally, get production-ready systems automatically.
SKILL.md
name: testing-strategy description: 'Designs unit, integration and end-to-end testing strategies and implements tests for code changes.' metadata: id: ce.skill.testing-strategy tags: [testing, validation, performance] inputs: files: [ARCHITECTURE.md, CONTRIBUTING.md] concepts: [test-pyramid] tools: [toolset:write] outputs: artifacts: [ce.task.validate] files: [] actions: [apply-changes] dependsOn: artifacts: [ce.task.validate] files: [.vscode/tasks.json] related: artifacts: [ce.prompt.write-tests] files: []
Testing Strategy Skill
This skill ensures that new features are accompanied by robust tests across the testing pyramid.
Steps
-
Review context. Load
ARCHITECTURE.mdandCONTRIBUTING.mdto understand the system architecture, critical paths and existing testing conventions. -
Plan test coverage. Determine which layers of the testing pyramid apply:
- Unit tests for individual functions or classes.
- Integration tests for interactions between modules or services.
- End‑to‑end tests for verifying user-facing workflows.
-
Identify key scenarios. For each requirement or plan step, outline the positive, negative and edge case scenarios that must be tested. Consider performance and security aspects where applicable.
-
Select frameworks and tools. Choose appropriate testing frameworks (e.g. pytest for Python, Jest for JS/TS) and any mocking or fixture libraries. Ensure tests can run in isolation and in CI.
-
Write and organise tests. Implement the tests following language-specific best practices. Place them in clearly named files and directories. Use descriptive test names and assertions.
-
Run and iterate. Execute the tests locally. Fix any failing tests or code issues. Ensure the entire suite passes quickly. Address flakiness or excessive coupling.
-
Validate and summarise. Run the validation task to ensure no structural issues were introduced. Summarise the new tests and their coverage. Highlight any remaining gaps for future work.
Embedding testing as a first-class activity guarantees reliability and facilitates confident refactoring.
Score
Total Score
Based on repository quality metrics
SKILL.mdファイルが含まれている
ライセンスが設定されている
100文字以上の説明がある
GitHub Stars 100以上
3ヶ月以内に更新がある
10回以上フォークされている
オープンIssueが50未満
プログラミング言語が設定されている
1つ以上のタグが設定されている
Reviews
Reviews coming soon