github.com/abecodes/dft

dft

Lightweight, zero dependency docker containers for testing (or more).

50

Decision Signals

Health score 50/100, confidence 45/100.

Caution
Maintenance 48
Adoption 7
Security 92
Maturity 45
Developer DX 83
Confidence 45

Install

go get github.com/abecodes/dft

Package Data

updated Jun 11, 2026
Latest versionUnknown
Imported by0 packages
Stars0
Forks0
Last activityUnknown
Latest releaseUnknown
LicenseUnknown
Known vuln records0

API Surface

15 symbols
SymbolKindSynopsis
Container Type type Container struct{}
Container.ExposedPortAddresses Method func (c *Container) ExposedPortAddresses(port uint) ([]string, bool)
Container.ExposedPorts Method func (c *Container) ExposedPorts(port uint) ([]uint, bool)
Container.Logs Method func (c *Container) Logs(ctx context.Context) (string, error)
Container.Stop Method func (c Container) Stop(ctx context.Context) error
Container.WaitCmd Method func (c *Container) WaitCmd(ctx context.Context, cmd []string, ...) error
StartContainer Function func StartContainer(ctx context.Context, imageName string, opts ...ContainerOption) (*Container, error)
ContainerOption Type type ContainerOption func(cfg *containerCfg)
WithCmd Function func WithCmd(args []string) ContainerOption
WithEnvVar Function func WithEnvVar(key string, value string) ContainerOption
WithMount Function func WithMount(dest string, trgt string) ContainerOption
WithPort Function func WithPort(port uint, target uint) ContainerOption

Maintained Alternatives

lower maintenance score

#1 Testify

Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.

Go Testing Libraries 26.0K stars 15 imported-by 100% confidence
95

#2 keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

Go Testing Libraries 17.6K stars 0 imported-by 45% confidence
86

#3 Gomega

Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.

Go Testing Libraries 0 stars 11.8K imported-by 80% confidence
80

#4 testcase

Package testcase is an opinionated testing framework.

Go Testing Libraries 130 stars 0 imported-by 65% confidence
71

#5 hoverfly

Lightweight service virtualization/ API simulation / API mocking tool for developers and testers

Go Testing Libraries 0 stars 0 imported-by 60% confidence
59

#6 moq

Interface mocking tool for go generate

Go Testing Libraries 0 stars 0 imported-by 60% confidence
56

Similar Packages

Go Testing Libraries

#1 Testify

Module testify is a set of packages that provide many tools for testifying that your code will behave as you intend.

Go Testing Libraries 26.0K stars 15 imported-by 100% confidence
95

#2 keploy

Open-source platform for creating safe, isolated production sandboxes for API, integration, and E2E testing.

Go Testing Libraries 17.6K stars 0 imported-by 45% confidence
86

#3 gock

HTTP traffic mocking and testing made easy in Go ༼ʘ̚ل͜ʘ̚༽

Go Testing Libraries 2.2K stars 65 imported-by 95% confidence
80

#4 Gomega

Gomega is the Ginkgo BDD-style testing framework's preferred matcher library.

Go Testing Libraries 0 stars 11.8K imported-by 80% confidence
80

#5 testcase

Package testcase is an opinionated testing framework.

Go Testing Libraries 130 stars 0 imported-by 65% confidence
71