integration-tests

Generate .NET integration test suites with WebApplicationFactory and Testcontainers.

1|Updated Feb 25, 2026
One-click install
npx skills add https://github.com/piers-sinclair/Dostar --skill integration-tests-piers-sinclair
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: integration-tests
Source: https://github.com/piers-sinclair/Dostar/tree/main/.claude/skills/integration-tests
Command: npx skills add https://github.com/piers-sinclair/Dostar --skill integration-tests-piers-sinclair

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill eliminates the boilerplate and configuration overhead required to set up reliable integration tests for modular .NET applications, ensuring consistent testing patterns across the codebase.

Core Features & Use Cases

  • Automated Test Scaffolding: Generates WebApplicationFactory and Testcontainers configurations for specific modules.
  • Standardized Assertions: Enforces the use of Shouldly for clean, readable test assertions.
  • Use Case: When a new endpoint is added to a module, use this skill to instantly generate the necessary integration test class, ApiFactory, and GlobalUsings to ensure the endpoint functions correctly within the full system context.

Quick Start

Invoke the integration-tests skill by providing the target module name and a brief description of the endpoint functionality to generate the required test files.

Frequently Asked Questions about integration-tests

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I scaffold integration tests for a .NET modular monolith endpoint?

To scaffold integration tests for a .NET modular monolith endpoint, you provide the target module name and endpoint functionality description. The Skill then generates the necessary test class, ApiFactory, and GlobalUsings using WebApplicationFactory and Testcontainers configurations.

Does this testing approach use Testcontainers for isolated .NET module environments?

Yes, this approach uses Testcontainers to facilitate the creation of isolated test environments. It ensures automated database migration and cleanup for specific module components during integration testing.

What is the best way to enforce consistent assertions in xUnit integration tests?

The best way to enforce consistent assertions in xUnit integration tests here is by using Shouldly. The Skill generates test suites that adhere to standardized testing patterns, ensuring clean and readable endpoint verification.

Can I use WebApplicationFactory with modular monolith components?

Yes, you can use WebApplicationFactory with modular monolith components. The Skill generates WebApplicationFactory configurations to verify that newly added endpoints function correctly within the full system context.

Why should I use automated database migration in .NET integration testing?

Automated database migration in .NET integration testing ensures reliable isolated test environments. This Skill handles the boilerplate configuration overhead, automating database setup and cleanup for specific module components.