testcontainers-go

Testcontainers for Go is a Go package that makes it simple to create and clean up container-based dependencies for automated integration/smoke tests. The clean, easy-to-use API enables developers to programmatically define containers that should be run as part of a test and clean up those resources when the test is done.

MIT License

Stars
3.2K
Committers
233

Bot releases are hidden (Show)

testcontainers-go - v0.13.0

Published by mdelapenya over 2 years ago

What's Changed

  • Send optional platform spec when creating container (#395) @hairyhenderson
  • Fix some lint errors (#400) @hairyhenderson

๐Ÿš€ Features

  • expose CopyToContainer so file can be created only in memory (#417) @oktalz
  • add ability to stop container (#416) @oktalz
  • Remove custom built docker image on container termination (#405) @gaborszakacs
  • Remove intermediate containers when building from Dockerfile (#403) @gaborszakacs
  • Expose HostConfig Resources via ContainerRequest (#402) @nhatthm
  • Logger per container instance (#393) @baez90
  • added interface for logger (#385) @dhuckins
  • Replace ContainerRequest.BindMounts and ContainerRequest.VolumeMounts with ContainerRequest.Mounts as dedicated type (#386) @baez90
  • feat: additionally remove volumes by default on compose down (#381) @peter-evans
  • Add wait.ExecStrategy to wait on cmd exec in a container (#368) @alexey-medvedchikov

โš ๏ธ Breaking Changes

  • Replace ContainerRequest.BindMounts and ContainerRequest.VolumeMounts with ContainerRequest.Mounts as dedicated type (#386) @baez90

๐Ÿ› Bug Fixes

  • Add support for Docker Compose V2 (#377) @artamonovkirill
  • #391: remember service map from all docker compose files (#392) @ankan-pfc
  • Bugfix: log-consumer go-routine should recover from closed-connection (#369) @Chrisss93

๐Ÿ“– Documentation

  • add import statements to quick start (#408) @kevinawoo
  • docs/gotests: fixed broken link for garbage collector (#409) @kevinawoo
  • docs: fix ryuk link (#388) @dlsrb6342

๐Ÿงน Housekeeping

  • chore(ci): run tests for more recent Go versions (#401) @mdelapenya
  • chore: preparation to rename to main (#422) @mdelapenya
  • fix: use 1.18 format to install dependencies (#421) @mdelapenya
  • Upgrade dependencies to latest versions (#387) @baez90

๐Ÿ“ฆ Dependency updates

  • fix: use 1.18 format to install dependencies (#421) @mdelapenya
testcontainers-go - bye legacy

Published by gianarb about 5 years ago

https://github.com/testcontainers/testcontainers-go/pull/81 - Removed the legacy part of the library

https://github.com/testcontainers/testcontainers-go/pull/83 - Added support to run multiple wait strategies for a specific container

testcontainers-go - v0.0.4

Published by gianarb over 5 years ago

Fixed #61 - Added dockerd API Version Negotiation
Merged #62 - Timeout support for WaitForLog

testcontainers-go - v0.0.3

Published by gianarb over 5 years ago

testcontainers-go - v0.0.2

Published by gianarb over 5 years ago

testcontainers-go - 0.0.2

Published by gianarb over 5 years ago

testcontainers-go - 0.0.1

Published by gianarb almost 6 years ago