/CosmosDB-Testcontainers-Test

A test repo to demo using Testcontainers for integration tests with ASP.NET WebApplicationFactory and CosmosDB

Primary LanguageC#MIT LicenseMIT

CosmosDB-Testcontainers-Test

A test repo to demo using Testcontainers for integration tests with ASP.NET WebApplicationFactory and CosmosDB

Getting Started

  1. Clone the repository.

  2. Make sure you have Docker Desktop running (assuming running on Windows).

  3. Make sure Docker is set to work with Linux based containers.

  4. Restore and Build solution.

  5. Run tests project.

Note

The Microsoft CosmosDB Emulator image will need to be downloaded. This might need to be done before being able to run the tests.