service-virtualization
Installation
SKILL.md
Discovery Questions
- How many external dependencies does your system call? List them: payment APIs, email services, auth providers, third-party data sources. Each needs a strategy.
- Which dependencies are unreliable in tests? Rate-limited, slow, flaky, or expensive? These are the highest-priority candidates for virtualization.
- What testing levels need isolation? Unit tests need fast in-process mocks. Integration tests may need HTTP-level stubs. E2E tests might use real or containerized services.
- Do you have contracts with your dependencies? If yes, contract tests can validate that your stubs stay in sync with reality. See
contract-testing. - What is the team's experience level? Simple MSW handlers are easier to maintain than a full WireMock deployment.
- Check
.agents/qa-project-context.mdfirst. Respect existing mocking conventions and infrastructure.
Core Principles
Related skills