Skip to content

Create a Testcontainers module to support easy testing. #87

@goldsam

Description

@goldsam

It would be valuable to support a Testcontainers module to quickly enable integration tests dependant on azure-app-configuration-emulator.

Testcontainers is a popular library use for defining and managing complex container environments for integration testing. This library introduces the concept of a module as an extension library which enables complex automatic configuration and best practices when integrating specific 3rd-party applications.

Although the Testcontainers project provides modules for many commonly used applications, other projects (such as WireMock.Net) provide their own Testcontainers modules.

The features I would like in this module:

  • Automatic provisioning and deployment of a self-signed certificate deployed and configured into the azure-app-configuration-emulator container.
  • Helper functions for computing an App Configuration endpoint Uri for use both from the host and within the containerized environment (using a host alias).
  • Helper function for creating an ConfigurationClient for use within the test environment to setup configuration during a test.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions