{"repo":"orlangure/gnomock","free":true,"listed":false,"github":"https://github.com/orlangure/gnomock","clone":"git clone https://github.com/orlangure/gnomock.git","description":"Test your code without writing mocks with ephemeral Docker containers 📦 Setup popular services with just a couple lines of code ⏱️ No bash, no yaml, only code 💻","language":"Go","stars":1489,"topics":["go","golang","testing","integration-testing","end-to-end-testing","docker","kafka","postgres","mysql","mongo"],"license":"MIT","category":"databases-storage","readme_excerpt":"Gnomock – tests without mocks 🏗️ Spin up entire dependency stack 🎁 Setup initial dependency state – easily! 🏭 Test against actual, close to production software ⏳ Spend no time writing mocks 🕹️ Test actual program behavior and side effects Gnomock is an integration and end-to-end testing toolkit. It uses Docker to create temporary containers for application dependencies, setup their initial state and clean them up in the end. Gnomock allows to test the code with no mocks wherever possible. The power of Gnomock 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. The name \"Gnomock\" stands for \"no mock\", with a \"G\" for \"Go\" 😼. It also sounds like \"gnome\", that's why the friendly garden gnome artwork (by Michael Zolotov) Demo See for yourself how easy and fast it is to write tests that use actual services running in ephemeral Docker containers: Table of contents - Getting started - Using Gnomock in Go applications - Using Gnomock in other languages - Official presets - Similar projects - Troubleshooting - Giving back 💰 Getting started Gnomock can be used in two different ways: - Imported directly as a package in any Go project - Accessed over HTTP running as a daemon in any other language Both ways require an active Docker daemon running locally in the same environment. Exter","default_branch":null,"files":null,"tree":[],"storefront":"/r/orlangure","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/orlangure/gnomock/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}