What problem does it solve?
External API integration testing for .NET solutions is often tangled with separate test projects, conflicting lifecycles, and authentication concerns. This Skill bootstraps a dedicated <Solution>.ApiTests project, wires it to a detected DTO project, and provides shared fixtures to simplify end-to-end API testing without mixing with unit tests.
Core Features & Use Cases
- Boot a dedicated <Solution>.ApiTests project for external API integration tests separate from unit tests.
- Provide reusable ApiTestFixture and ApiTestCollection to share authentication across tests.
- Support multiple authentication presets (Generic JWT, NAuth, OAuth2 client credentials, API key) and environment-based configuration for secrets.
- Typical use cases include adding controller tests, running against staging, and validating end-to-end API behavior.
Quick Start
Create the <Solution>.ApiTests project, reference the DTO project, implement tests, and run dotnet test to execute the API integration suite.