test-integration

Automate end-to-end API and database integration testing with WebApplicationFactory and Testcontainers.

20|3|Updated Aug 13, 2023
One-click install
npx skills add https://github.com/duranserkan/DRN-Project --skill test-integration
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: test-integration
Source: https://github.com/duranserkan/DRN-Project/tree/main/.agent/skills/test-integration
Command: npx skills add https://github.com/duranserkan/DRN-Project --skill test-integration

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Integration testing across API endpoints and database components is often fragmented and time-consuming; this skill provides a unified approach using WebApplicationFactory and Testcontainers.

Core Features & Use Cases

  • Orchestrates API endpoint tests via WebApplicationFactory
  • Coordinates database component tests with Testcontainers
  • Serves as a navigation hub for specialized skills test-integration-api and test-integration-db

Quick Start

Run the integration test suite to validate API and DB interactions end-to-end against a deterministic test context.

Frequently Asked Questions about test-integration

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

FAQPage Schema
How do I automate end-to-end API and database integration testing in .NET?

You can automate end-to-end API and database integration testing in .NET by using WebApplicationFactory for HTTP endpoints and Testcontainers for database components. This approach provides a deterministic test context with shared setup and teardown across API and DB layers.

What is the best way to test HTTP endpoints and data access paths together?

The best way to test HTTP endpoints and data access paths together is orchestrating them via WebApplicationFactory and Testcontainers. This validates middleware behavior and database interactions end-to-end within a single, reliable test fixture.

Can I use Testcontainers with WebApplicationFactory for .NET test fixtures?

Yes, you can use Testcontainers with WebApplicationFactory to coordinate API and DB tests in .NET. They work together within supporting test fixtures to provide shared context and deterministic setup and teardown for integration testing.

How do I coordinate API and DB tests with shared context and deterministic setup?

Coordinate API and DB tests with shared context and deterministic setup by using WebApplicationFactory and Testcontainers. This combination reliably validates HTTP endpoints, middleware behavior, and data access paths across integrated API and DB layers.

When do I need Testcontainers for database component testing?

You need Testcontainers for database component testing when validating data access paths end-to-end requires a real, isolated database environment. It coordinates with WebApplicationFactory to ensure deterministic setup and teardown for reliable DB integration tests.