Registry / testing / dhui-dktest

dhui-dktest

JSON →
library0.4.6gogounverified

Package dktest provides an easy way to write integration tests using Docker.

go get github.com/dhui/dktest
INSTALL
IMPORT
SIG · DHUI-DKTEST
D
dhui-dktest
testinggov0.4.6
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

dktest
github.com/dhui/dktest

Minimal integration test using Docker container

package main import ( "testing" "github.com/dhui/dktest" ) func TestSomething(t *testing.T) { dktest.Run(t, "redis:latest", func(t *testing.T, c *dktest.ContainerInfo) { // use container }) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.4.6latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
dhui-dktest — go get dhui-dktest · libregistry