dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
Backend Testing
Backend testing with xUnit, Foundatio.Xunit, integration tests with AppWebHostFactory, FluentClient, ProxyTimeProvider for time manipulation, and test data builders. Keywords: xUnit, Fact, Theory, integration tests, AppWebHostFactory, FluentClient, ProxyTimeProvider, TimeProvider, Foundatio.Xunit, TestWithLoggingBase, test data builders
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.
testcontainers-integration-tests
Write integration tests using TestContainers for .NET with xUnit. Covers infrastructure testing with real databases, message queues, and caches in Docker containers instead of mocks.
net-testing
Set up comprehensive testing framework with xUnit, Moq, and TestContainers
ln-743-test-infrastructure
Creates test infrastructure with Vitest, xUnit, and pytest
dotnet-test
This skill should be used when running .NET tests selectively with a build-first, test-targeted workflow. Use it for running tests with xUnit focus.
test-generator
自动生成全面的测试套件,包括单元测试、集成测试和E2E测试,支持Jest、Vitest、pytest、xUnit等。
.NET Testing Patterns
.NET testing with xUnit, NUnit, MSTest, FluentAssertions, Moq, integration testing with WebApplicationFactory, and Entity Framework testing.
unit-testing
Generates unit tests for command and query handlers using xUnit and NSubstitute. Implements Arrange-Act-Assert pattern with comprehensive test coverage for success and failure scenarios.
testing
Software testing expertise for writing effective tests. Use when writing tests, reviewing test quality, designing test suites, debugging test failures, or implementing TDD. Covers xUnit patterns, test case selection, mocks/fixtures, parametrization, testing stateful systems, BDD, golden/snapshot testing, and LLM output evaluation.
qa-engineer
QA Automation Engineer skill. Use this to write or refactor unit tests. Ensures tests follow the project's xUnit, FluentAssertions, and Moq standards.
.NET Testing
.NET testing foundational skills overview and guidance hub. Triggered when users ask general testing questions such as "how to write .NET tests", ".NET testing getting started", "what testing tools are needed", "testing best practices", or "learn testing from scratch". It recommends appropriate combinations of subskills based on specific needs, covering 19 foundational skills including testing basics, test data, assertions, mocking, and special scenarios. Keywords: dotnet testing, .NET testing, testing getting started, how to write tests, testing best practices, unit test, xUnit, 3A pattern, FIRST principles, assertion, mock, stub, NSubstitute, test data, AutoFixture, Bogus, validator, FluentValidation, TimeProvider, IFileSystem, code coverage, ITestOutputHelper, test naming
dotnet-testing-advanced
.NET advanced testing skills overview and guidance hub. Triggered when a user asks about “integration testing”, “API testing”, “containerized testing”, “microservice testing”, “test framework migration”, “Testcontainers”, “Aspire testing”, or other advanced testing needs. It recommends appropriate combinations of sub-skills based on specific requirements, covering 8 advanced skill areas including integration testing, Testcontainers, Aspire testing, and framework upgrades. Keywords: integration testing, API testing, container testing, containerized testing, microservice testing, advanced testing, Testcontainers, Aspire testing, WebApplicationFactory, TestServer, database testing, EF Core testing, MongoDB testing, Redis testing, Docker testing, microservice test, .NET Aspire, xUnit upgrade, TUnit, framework migration
dotnet-testing-test-output-logging
Complete guide to xUnit test output and logging. Use when implementing test output, diagnostic logging, or ILogger substitutes in xUnit tests. Covers ITestOutputHelper injection, the AbstractLogger pattern, and structured output design. Includes implementations of XUnitLogger, CompositeLogger, and a performance-test diagnostics tool. Keywords: ITestOutputHelper, ILogger testing, test output xunit, test output, test logging, AbstractLogger, XUnitLogger, CompositeLogger, testOutputHelper.WriteLine, test diagnostics, logger mock, test logs, structured output, Received().Log
dotnet-testing-advanced-tunit-fundamentals
Complete guide to getting started with the next-generation TUnit testing framework. Use when creating TUnit test projects or migrating from xUnit to TUnit. Covers Source Generator–driven test discovery, AOT compilation support, and fluent asynchronous assertions. Includes project creation, the [Test] attribute, lifecycle management, parallel control, and a syntax comparison with xUnit. Keywords: TUnit, tunit testing, source generator testing, AOT testing, next-generation testing framework, [Test], [Arguments], TUnit.Assertions, Assert.That, Before(Test), After(Test), NotInParallel, TUnit.Templates, Microsoft.Testing.Platform, TUnit vs xUnit, parallel execution
dotnet-testing-xunit-project-setup
A specialized skill for creating and configuring xUnit test projects. Use this when you need to create a test project, set up project structure, configure NuGet packages, and organize test folders. Covers csproj settings, package management, project structure, xunit.runner.json configuration, and related topics. Keywords: xunit project, xunit setup, test project creation, test project setup, create test project, project structure, folder structure, xunit package, nuget packages, test suite, how to create test project, xunit configuration
dotnet-testing-autodata-xunit-integration
Complete guide to integrating AutoFixture with xUnit. Use when you need AutoData or InlineAutoData to simplify xUnit parameterized test data setup. Covers custom Customization and test data attributes to improve test readability and maintainability. Keywords: AutoData, InlineAutoData, AutoFixture xUnit, [AutoData], [InlineAutoData], AutoDataAttribute, ICustomization, DataAttribute, parameterized tests, Theory AutoData, MemberAutoData, test data attributes, fixture.Customize
Dotnet Testing - AutoFixture Basics
Basic skills for using AutoFixture to automatically generate test data. Use when you need to quickly create test objects, reduce boilerplate code, or enable anonymous testing. Covers Fixture.Create, CreateMany, handling circular references, integration with xUnit, etc. Keywords: autofixture, fixture, test data generation, anonymous testing, fixture.Create, CreateMany, fixture.Build, Create<T>, AutoFixture.Xunit2, OmitOnRecursionBehavior, IFixture, generate test data
dotnet-testing-advanced-xunit-upgrade-guide
Complete upgrade guide from xUnit 2.9.x to 3.x. Use this when you need to upgrade xUnit v2 to v3 or to learn about xUnit v3 new features and breaking changes. Covers package updates, fixes for async void tests, and adjustments to IAsyncLifetime. Includes introductions to new features: Assert.Skip, Explicit tests, Matrix Theory, Assembly Fixtures. Keywords: xunit upgrade, xunit v3, xunit 3.x, xunit migration, xunit upgrade, xunit.v3, OutputType Exe, IAsyncLifetime v3, Assert.Skip, SkipUnless, SkipWhen, Explicit attribute, MatrixTheoryData, AssemblyFixture, breaking changes
eventuras-testing
Running and managing tests in the Eventuras monorepo (xUnit backend tests, Playwright E2E tests, integration tests)
api-integration-testing
Integration testing patterns for ABP Framework APIs using xUnit and WebApplicationFactory. Use when: (1) testing API endpoints end-to-end, (2) verifying HTTP status codes and responses, (3) testing authorization, (4) database integration tests.
xunit-testing-patterns
Master xUnit testing patterns for ABP Framework applications including unit tests, integration tests, test data seeders, and mocking strategies. Use when: (1) writing xUnit tests for ABP services, (2) creating test data seeders, (3) implementing integration tests, (4) setting up test infrastructure.
generating-tests
Generates xUnit tests for C#/.NET ABP Framework code using NSubstitute and Shouldly. Use when the user asks to generate tests, create test coverage, write unit tests, write integration tests, fill coverage gaps, or test a class or file. Supports AppServices, Validators, and HTTP API Controllers.
Test Framework Detector
Automatically detect test frameworks (Jest, pytest, RSpec, xUnit) in projects by analyzing configuration files and dependencies
xUnit Test Framework
Execute and generate xUnit tests for C#/.NET projects with FluentAssertions and Moq support
test-generation
Use for DEVELOPER-focused unit/integration test code with xUnit (C#) and Jest (Angular) patterns. Provides ready-to-use test templates for commands, queries, entities, and components. Best for implementing actual test code. NOT for QA test specifications (use test-generation instead).
qa-engineer
QA Automation Engineer skill. Use this to write or refactor unit tests. Ensures tests follow the project's xUnit, FluentAssertions, and Moq standards.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
dotnet-add-testing
Adding test infrastructure to a .NET project. Scaffolds xUnit project, coverlet, layout.
dotnet-xunit
Writing xUnit tests. v3 Fact/Theory, fixtures, parallelism, IAsyncLifetime, v2 compatibility.
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. Use when writing integration tests for .NET Aspire applications, testing ASP.NET Core apps with real database connections, or verifying service-to-service communication in distributed applications.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
dotnet-code-quality-reviewer-prompt
Use when a .NET/C# implementation task is complete and needs quality-focused code review, especially xUnit test quality (behavioral tests, assertion counts, NSubstitute mock boundaries, anti-patterns like getter/setter tests)
dotnet-testcontainers
Write integration tests using Testcontainers for .NET with xUnit and real Docker infrastructure. Covers SQL Server, PostgreSQL, Redis, RabbitMQ, multi-container networks, container reuse, and Respawn database reset. Use when writing integration tests that need real databases, caches, or message queues instead of mocks.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
dotnet-tdd
Use when implementing ASP.NET Core + EF Core features or bugfixes with xUnit + NSubstitute tests, before writing implementation code.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.
dotnet-backend-patterns
Master C#/.NET backend development patterns for building robust APIs, MCP servers, and enterprise applications. Covers async/await, dependency injection, Entity Framework Core, Dapper, configuration, caching, and testing with xUnit. Use when developing .NET backends, reviewing C# code, or designing API architectures.