·aspire-integration-testing
</>

aspire-integration-testing

aaronontheweb/dotnet-skills

Write integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns for testing ASP.NET Core apps with real dependencies.

16Installs·1Trend·@aaronontheweb

Installation

$npx skills add https://github.com/aaronontheweb/dotnet-skills --skill aspire-integration-testing

SKILL.md

When running many integration tests that each start an IHost, the default .NET host builder enables file watchers for configuration reload. This exhausts file descriptor limits on Linux.

Add this to your test project before any tests run:

Why this matters: [ModuleInitializer] runs before any test code executes, setting the environment variable globally for all IHost instances created during tests.

Write integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns for testing ASP.NET Core apps with real dependencies. Source: aaronontheweb/dotnet-skills.

View raw

Facts (cite-ready)

Stable fields and commands for AI/search citations.

Install command
npx skills add https://github.com/aaronontheweb/dotnet-skills --skill aspire-integration-testing
Category
</>Dev Tools
Verified
First Seen
2026-02-06
Updated
2026-02-18

Quick answers

What is aspire-integration-testing?

Write integration tests using .NET Aspire's testing facilities with xUnit. Covers test fixtures, distributed application setup, endpoint discovery, and patterns for testing ASP.NET Core apps with real dependencies. Source: aaronontheweb/dotnet-skills.

How do I install aspire-integration-testing?

Open your terminal or command line tool (Terminal, iTerm, Windows Terminal, etc.) Copy and run this command: npx skills add https://github.com/aaronontheweb/dotnet-skills --skill aspire-integration-testing Once installed, the skill will be automatically configured in your AI coding environment and ready to use in Claude Code or Cursor

Where is the source repository?

https://github.com/aaronontheweb/dotnet-skills