Skip to content

BraspagDevelopers/testcontainers-canned

Repository files navigation

License Tag Go Report Card

testcontainers-canned

Canned container for tests using the library testcontainers-go.

What does it mean? It means that if you have tests using the library testcontainers-go, you can easily spin up some specific applications without worring about the waiting logic or connection string/client url-building logic.

You can also specify your own images to be initialized using the same logic as one that is already implemented here (i.e. if you create your own SQL Server image with your tables already).

Included Containers

Generic API

Generic container starter for an HTTP API

  • Default Image: None. It must be provided on creation.

Mock-Server

SQL Server for Linux

More Features

Network Creation

The package ./networks includes a function to create a network with a random name.

About

Canned Container for tests using testcontainers-go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages