Lightlines
By aaronontheweb

testcontainers-integration-tests

aaronontheweb520 installs

Test .NET code against real services in Docker.

What it does

Guides the creation of .NET integration tests that check real databases, queues, and caches in Docker rather than mocks.

When to use it

Use when writing integration tests that need real infrastructure, including data access, message queues, caching, and database migrations.

How to use it

It changes how the agent writes integration tests by using real containerized infrastructure, isolating test data, and managing container cleanup.

What you provide

  • An existing project

Good to know

  • cannot be undone: docker container prune -f

Latest review

What you need · 3

The testing guidance is for .NET code.

Docker support is required to run the container-backed tests, including in CI.

The guide targets TestContainers 4.x and uses provider module builders; its examples rely on 4.x behavior.


Access · 1

This skill

docker container prune -f

Execute

Deletes stopped Docker containers (irreversible)