This skill provides specialized guidance for writing robust integration tests within the .NET Aspire ecosystem, specifically tailored for the TUnit testing framework. It streamlines the setup of the AppHost as a test fixture, enables efficient service mocking, and leverages Aspire's native service discovery for testing complex inter-service communication. By utilizing DistributedApplicationTestingBuilder, developers can validate service health, monitor live logs via the Aspire Dashboard during test runs, and ensure production-ready reliability through standardized distributed application testing patterns.
주요 기능
01Automated service discovery using CreateHttpClient within tests
02Optimized resource management using shared test session scopes
03Pre-configured health check validation and smoke testing patterns
040 GitHub stars
05TUnit-adapted AppHost test fixtures for streamlined setup
06Live debugging support via Aspire Dashboard integration during execution
사용 사례
01Validating inter-service communication and dependencies in microservices
02Debugging complex service interactions with live traces and logs
03Executing automated health check audits for distributed cloud applications