A library to support tests with throwaway instances of Docker containers for all compatible .NET Standard versions.
MIT License
Bot releases are hidden (Show)
Published by HofmeisterAn almost 2 years ago
As part of this release we had 9 issues closed.
ITestcontainersBuilder<TDockerContainer>.WithResourceMapping
to copy files or any binary contents into the created container before it is startedITestcontainersNetworkBuilder.WithOption
(@vlaskal)TESTCONTAINERS_HOST_OVERRIDE
and TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE
TESTCONTAINERS_RYUK_CONTAINER_PRIVILEGED
)IDockerContainer.Hostname
) of a network if one is assignedResourceReaper.GetAndStartDefaultAsync
no longer support optional arguments, it is necessary to set the Resource Reaper configuration immediately.dockerignore
and Dockerfile
files in tarball (docker build
)Thanks for your contributions 🙏
Published by HofmeisterAn almost 2 years ago
As part of this release we had 24 issues closed.
ITestcontainersBuilder<TDockerContainer>.WithTmpfsMount
(@chrisbbe)DockerEndpointAuthConfig
) on TestcontainersSettings
initializationDOCKER_AUTH_CONFIG
environment variable (@vova-lantsov-dev)MsSqlTestcontainerConfiguration
custom database names (@enginexon)WithDockerfileDirectory
ExecScriptAsync
(MongoDB Shell) to MongoDB moduleIDockerContainer.GetLogs
ITestcontainersBuilder<TDockerContainer>.WithImagePullPolicy
(@BenasB)ITestcontainersBuilder<TDockerContainer>.WithMacAddress
(@seb1992).dockerignore
entry *
to all files and directorieswnameless/oracle-xe-11g-r2
to gvenzl/oracle-xe:21-slim
TestcontainersContainer.DisposeAsync
thread safe (rename TestcontainersState
to TestcontainersStates
).dockerignore
entry ends with /
.dockerignore
entry ends with /*
localhost
Thanks for your contributions 🙏
Published by HofmeisterAn about 2 years ago
As part of this release we had 11 issues closed.
CreateContainerParameters
instance (@Xitric)TestcontainersSettings.ResourceReaperImage
(@vlaskal)~/.testcontainers.properties
custom configurationIImageFromDockerfileBuilder.WithBuildArgument
(@michal-korniak)ResourceReaperDiagnostics
System.InvalidOperationException : cannot hijack chunked or content length stream
(update Docker.DotNet
dependency)ITestcontainersConfiguration
duplication, such as DockerApiException : [...] Duplicate mount point [...]
(@alesandrino)Thanks for your contributions 🙏
Published by HofmeisterAn over 2 years ago
As part of this patch release we had 2 issues closed.
ResourceReaperException
, Testcontainers couldn't establish a connection to the resource reaper (public host port wasn't set)ArgumentNullException
while mapping the network configurations in TestcontainersConfigurationConverter
(@pellared)Published by HofmeisterAn over 2 years ago
With this release, we transferred the repository to the official Testcontainers organization. As part of this release we had 3 issues closed.
WithNetworkAliases
(@vlaskal).HubImageNamePrefix
in combination with private Docker registry credentials (@bohlenc).Published by HofmeisterAn over 2 years ago
As part of this release we had 10 issues closed.
⚠️ This version has breaking changes. It contains a lot of new features, including performance and stability improvements.
DOCKER_HOST
as Docker endpoint (supports custom client configurations).NullReferenceException
when Docker image is not set (@jlevier-ae).ExecResult
instead of the exit code from IDockerContainerOperations.ExecAsync
(@fabiogouw).IDatabaseScript.IDatabaseScript
for TestcontainerDatabase
(@fabiogouw).📝 If your Docker host can't access the domain socket (or IPC socket) /var/run/docker.sock
, disable the Resource Reaper (TestcontainersSettings.ResourceReaperEnabled = false
).
Published by HofmeisterAn over 3 years ago
As part of this release we had 7 issues closed.
WithStartupCallback
.WithNetwork
(@brethubbard).netstandard2.0
(@chrisbbe).StartAsync
cannot be canceled.Environment
.json) was not applied (@as-ivanov).Published by HofmeisterAn about 4 years ago
As part of this release we had 5 issues closed.
SolutionInfo.cs
with Shared.msbuild
..dockerignore
file support.TestcontainersContainer.StartAsync
breaks Coverlet code coverage generation.Published by HofmeisterAn over 4 years ago
As part of this release we had 5 issues closed.
docker-socket
) (by @farodin91)Published by HofmeisterAn over 4 years ago
As part of this release we had 4 issues closed.
⚠️ This version has breaking changes (relates to #199), to provide a more convenient experience setting up wait strategies.
WaitUntilContainerIsRunning
.Published by HofmeisterAn almost 5 years ago
As part of this release we had 6 issues closed.
⚠️ This version has breaking changes (relates to #154 and commit e037aae), to provide reliable unit tests, the implementation of IAsyncDisposable
(netstandard2.1
) was necessary.
Published by HofmeisterAn almost 5 years ago
As part of this release we had 9 issues closed.
#119 Add missing wait strategy to test if database containers are up and running.
#126 Add missing function to purge orphaned containers if they are not disposed.
#135 Add missing function to get the containers exit code.
#163 Add missing function to execute commands in running containers.
#156 Implement IWaitUntil
with n-repeats (by @ta-ja).
#168 Remove Docker associated volumes on clean up.
#153 Update version of pre-configured Testcontainers.
#141 Add missing test for WithEntrypoint
.
#142 Add missing test for TestcontainerConfiguration
.
Published by HofmeisterAn about 5 years ago
As part of this release we had 11 issues closed.
#100 Add pre-configured database container for CouchDB.
#101 Add pre-configured database container for Redis.
#102 Add pre-configured message broker container for RabbitMQ.
#116 Add wait strategy to capture log messages.
#131 Add NuGet package icon.
#123 Assign random host port to a private container port.
#129 Get random host port for a private container port.
#79 Replace StyleCop configuration with EditorConfig.
#105 Move DatabaseContainerTest
into own database test classes.
#109 Replace Azure Pipelines build definition with azure-pipelines.yml
.
#114 Update NuGet dependencies with minor improvements and stability fixes.
Published by HofmeisterAn over 5 years ago
As part of this release we had 8 issues closed.
CODE_OF_CONDUCT.md
.CONTRIBUTING.md
.Published by HofmeisterAn over 5 years ago
As part of this release we had 4 issues closed.
Published by HofmeisterAn over 5 years ago
As part of this release we had 5 issues closed.
Published by HofmeisterAn over 5 years ago
As part of this release we had 5 issues closed.
language-ext
dependency (still used in TestcontainersContainer
class).entrypoint
and command
is not merged together.stdout
and stderr
.Published by HofmeisterAn over 5 years ago
As part of this release we had 6 issues closed.