What problem does it solve?
This Skill eliminates inconsistent and unstandardized integration testing practices for .NET Minimal API projects, reducing flaky tests and ensuring API endpoints function correctly end-to-end.
Core Features & Use Cases
- Standardized Test Structure: Provides a consistent folder layout and naming convention for integration test classes, making test suites easy to navigate and maintain.
- Reusable Test Setup: Includes pre-built patterns for initializing test web application factories, authenticating test clients, and managing test lifecycle with MSTest attributes.
- Tooling Integration: Supports NSubstitute for mocking dependencies and Entity Framework Core InMemory for isolated database testing without external infrastructure.
- Use Case: When you add a new CRUD endpoint to a .NET Todo API, use this Skill to generate both individual endpoint tests and full flow tests that cover the entire request lifecycle.
Quick Start
Use the mstest-integration-test skill to generate a complete integration test class for a new Todo API endpoint following the project's standardized patterns.