dotnet-integration-testing
CommunityTest .NET apps with real infrastructure.
Software Engineering#integration testing#database testing#.net#asp.net core#testcontainers#webapplicationfactory#.net aspire
AuthorAGIBuild
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill enables robust integration testing for .NET applications by leveraging real infrastructure components like databases and external services, ensuring your application behaves correctly in a production-like environment.
Core Features & Use Cases
- In-Process API Testing: Use
WebApplicationFactoryto test ASP.NET Core APIs without network overhead. - Containerized Infrastructure: Employ Testcontainers to spin up real databases, message brokers, and other services in Docker containers for isolated testing.
- Orchestrated Testing: Utilize .NET Aspire's testing capabilities to validate multi-service applications and their interactions.
- Database Fixtures: Manage database state with strategies like transaction rollback or data respawning for clean test environments.
- Use Case: Test a web API that relies on a PostgreSQL database by spinning up a PostgreSQL container with Testcontainers, configuring
WebApplicationFactoryto use that container's connection string, and then running API endpoint tests against the in-process test server.
Quick Start
Use the dotnet-integration-testing skill to create a new integration test class for an ASP.NET Core API using WebApplicationFactory and Testcontainers for PostgreSQL.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: dotnet-integration-testing Download link: https://github.com/AGIBuild/Agibuild.Fulora/archive/main.zip#dotnet-integration-testing Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.