Registry / testing / orlangure-gnomock

orlangure-gnomock

JSON →
library0.32.0gogounverified

A framework to set up temporary Docker containers for integration and end-to-end testing of other applications.

go get github.com/orlangure/gnomock
INSTALL
IMPORT
SIG · ORLANGURE-GNOMOCK
O
orlangure-gnomock
testinggov0.32.0
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.

gnomock
github.com/orlangure/gnomock

Start a PostgreSQL container for testing.

package main import ( "context" "github.com/orlangure/gnomock" "github.com/orlangure/gnomock/preset/postgres" ) func main() { p := postgres.Preset() container, _ := gnomock.Start(context.Background(), p) defer gnomock.Stop(container) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
orlangure-gnomock — go get orlangure-gnomock · libregistry