testcontainers/testcontainers-go
View on GitHub ↗ ★ 5,028 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.
3 mentions on Hacker News by 3 people: 0 stories, 3 comments · first 2021-04-27 · latest 2024-06-27
20082026
-
…recently [1]. It's going to be huge when they fix it, as it will make tests much faster. [1]: https://github.com/testcontainers/testcontainers-go/issues/2...
comment by suralind · 2024-06-27 · in Using short lived Postgres servers for testing -
…check out the Testcontainers[1] project that makes a good use of containers in language level. [1] https://github.com/testcontainers/testcontainers-go
comment by 0xbkt · 2021-07-04 · in Stop mocking your system -
Testcontainers is also available for go https://github.com/testcontainers/testcontainers-go
comment by oweiler · 2021-04-27 · in Pg_tmp – Run tests on an isolated, temporary PostgreSQL database