An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

github.com/orlangure/gnomock

Package gnomock contains a framework to set up temporary docker containers for integration and end-to-end testing of other applications. It handles pulling images, starting containers, waiting for them to become available, setting up their initial state and cleaning up in the end. Its power is in a variety of Presets, each implementing a specific database, service or other tools. Each preset provides ways of setting up its initial state as easily as possible: SQL schema creation, test data upload into S3, sending test events to Splunk, etc. All containers created using Gnomock have a self-destruct mechanism that kicks-in right after the test execution completes. To debug cases where containers don't behave as expected, there are options like `WithDebugMode()` or `WithLogWriter()`. For the list of presets, please refer to https://pkg.go.dev/github.com/orlangure/gnomock/preset. Each preset can then be used in the following way:

Ecosystem
proxy.golang.org
Latest Release
v0.32.0
9 months ago
Versions
52
Dependent Packages
80
Dependent Repos
46
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/orlangure/gnomock
spec
License MIT
Namespace github.com/orlangure
First Release almost 6 years ago
Last Synced about 15 hours ago
Repository
Stars 1,084 on GitHub
Forks 49 on GitHub
Docker Dependents 6
Docker Downloads 2,734
Rankings on proxy.golang.org
Overall Top 1.5%
Dependent packages Top 0.5%
Dependent repos Top 0.8%
Forks Top 3.4%
Docker downloads Top 0.7%