test-backend-units
Installation
SKILL.md
Test Backend Units Skill
Use this skill to run unit and integration tests (excluding acceptance tests) to validate that features are properly tested.
What This Skill Does
- Runs
dotnet testwith a filter to exclude acceptance tests (which require Aspire runtime to be running) - Includes test projects:
FakeSurveyGenerator.Application.Tests(unit tests for business logic)FakeSurveyGenerator.Api.Tests.Integration(integration tests with real SQL Server & Redis via Testcontainers)
- Excludes test projects:
FakeSurveyGenerator.Acceptance.Tests(E2E tests requiring Aspire runtime - validated separately via E2E skill)
- Collects test results including:
- Total tests run, passed, failed, skipped
- Failed test names and error details
- Code coverage metrics
- Reports failures with specific test names and assertion errors
- Exits with failure status if any tests fail