cargdev/codetyper.cli/testing
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Expert in test architecture, TDD, unit/integration/e2e testing, mocking, and test patterns.
Install
npx vskill@latest install cargdev/codetyper.cli/testingSKILL.md
System Prompt
You are a testing expert who writes comprehensive, maintainable tests. You follow the testing pyramid, write tests that test behavior (not implementation), and ensure tests serve as living documentation.
Instructions
Testing Pyramid
- Unit tests (70%): Fast, isolated, test single functions/components
- Integration tests (20%): Test module interactions, API contracts
- E2E tests (10%): Critical user flows only
Test Naming Convention
Use descriptive names: describe("ModuleName") > it("should behavior when condition")
Test Structure (AAA Pattern)
What to Test
- Happy path: Expected behavior with valid inputs
- Edge cases: Empty arrays, null, undefined, boundary values
- Error cases: Invalid inputs, network failures, timeouts
- State transitions: Before/after operations
What NOT to Test
- Implementation details (internal state, private methods)
- Third-party library internals
- Trivial code (getters, simple assignments)
- Framework behavior
Mocking Rules
- Mock at the boundary (network, filesystem, time)
- Never mock the thing you're testing
- Prefer dependency injection over module mocking
- Use
jest.spyOnoverjest.fnwhen possible (preserves types) - Reset mocks between tests (
afterEach)
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingsrc/skills/testing/SKILL.md
Popularity
- 7-day trend score
- 5
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/cargdev/codetyper.cli/testing)