github.com/orlangure/gnomock (go): 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:
Keywords: cockroachdb|docker|elasticsearch|end-to-end-testing|go|golang|hacktoberfest|integration-testing|kafka|kubernetes|mariadb|memcached|mongo|mysql|postgres|rabbitmq|redis|splunk|sql-server|testing