Agent Skills: testing-strategies
Good tests give you confidence to ship. Bad tests give you a false sense of security while slowing you down. The goal isn't 100% coverage - it's the right tests for the right things. This skill covers the testing pyramid (unit, integration, E2E), when to use each, mocking strategies, and the patterns that make tests maintainable. The key insight: test behavior, not implementation. Your tests should survive refactoring. 2025 reality: Jest is still king for JavaScript. Vitest is faster. Playwright dominates E2E. pytest owns Python. The real challenge isn't which tool to use - it's knowing what to test and how. Use when "test, testing, unit test, integration test, e2e, jest, vitest, playwright, cypress, pytest, mock, fixture, tdd, testing, jest, vitest, playwright, pytest, tdd, unit-testing, e2e" mentioned.
Install this agent skill to your local
Skill Files
The files that make up testing-strategies.
More agent skills
- deepworkHigh-cost orchestrator workflow for large, high-risk, multi-phase coding efforts with meaningful dependencies and review gates. Do not activate for routine multi-file changes.
- promptfoo-evaluationConfigures and runs LLM evaluation using Promptfoo framework. Use when setting up prompt testing, creating evaluation configs (promptfooconfig.yaml), writing Python custom assertions, implementing llm-rubric for LLM-as-judge, or managing few-shot examples in prompts. Triggers on keywords like "promptfoo", "eval", "LLM evaluation", "prompt testing", or "model comparison".
- csharp-proWrite modern C# code with advanced features like records, pattern
- ghaAnalyze GitHub Actions failures and identify root causes
- create-commandCreate new commands for the code-forge application. Commands are stored as .md files in the <cwd>/.forge/commands directory with YAML frontmatter (name, description) and markdown body containing command steps. Use when users need to add new commands, modify existing commands, or understand the command file structure. Supports special command tags like <lint> and <test> for automated workflows.
- pydantic-ai-tool-systemRegister and implement PydanticAI tools with proper context handling, type annotations, and docstrings. Use when adding tool capabilities to agents, implementing function calling, or creating agent actions.