gnomock

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 💻

MIT License

Downloads
936
Stars
1.4K
Committers
21

Bot releases are hidden (Show)

gnomock - v0.15.1

Published by orlangure over 3 years ago

  • document k3s preset minimal image version for latest linux kernel
gnomock - v0.15.0

Published by orlangure over 3 years ago

  • support private docker images: WithRegistryAuth option
  • dependency version upgrades
gnomock - v0.14.2

Published by orlangure over 3 years ago

gnomock - v0.14.1

Published by orlangure over 3 years ago

  • fix unix:/// socket support in DOCKER_HOST
gnomock - v0.14.0

Published by orlangure over 3 years ago

  • InfluxDB preset
gnomock - v0.13.0

Published by orlangure over 3 years ago

  • experimental support for remote hosts using DOCKER_HOST
  • maintenance: upgrade dependency versions
gnomock - v0.12.1

Published by orlangure over 3 years ago

This release includes 2 bug fixes that appeared after a recent docker update on mac and windows:

  • Sometimes new containers were assigned port "0"
  • Gnomock couldn't communicate with docker host from inside its own container (not relevant for direct Go users)
gnomock - v0.12.0

Published by orlangure over 3 years ago

  • CockroachDB preset
  • Elasticsearch preset memory tweak: set 256m heap size inside the container
  • container cleanup improvements for Gnomock Server
gnomock - v0.11.0

Published by orlangure almost 4 years ago

Container cleanup mechanism: each container started by Gnomock gets its own sidecar container, which is responsible to terminate the container in case the tests for some reason don't run gnomock.Stop().

gnomock - v0.10.1

Published by orlangure almost 4 years ago

This is a stability release.

  • A minor issue is fixed when using default address/port on containers that don't have it defined.
  • Preset documentation improved to include default images or credentials.
gnomock - v0.10.0

Published by orlangure almost 4 years ago

Potentially breaking change in this release:
Some public types and packages were moved into internal package. Nobody was supposed to use these packages or otherwise depend on them, so all should be good. Please let me know if not.

gnomock - v0.9.5

Published by orlangure about 4 years ago

  • MariaDB preset (@dusansimic)
  • Elasticsearch preset
gnomock - v0.9.4

Published by orlangure about 4 years ago

  • Kafka preset
  • support using a constant host port instead of generating a random one
gnomock - v0.9.3

Published by orlangure about 4 years ago

  • Add Memcached preset (@dusansimic)
gnomock - v0.9.2

Published by orlangure about 4 years ago

  • Support both legacy and new localstack /health
  • Support management plugin in rabbitmq preset
  • Allow using a specific container name
gnomock - v0.9.1

Published by orlangure over 4 years ago

RabbitMQ preset

gnomock - v0.9.0

Published by orlangure over 4 years ago

This release introduces some breaking changes.

326b160 Support multiple queries files
1641bf2 Implement debug mode
707b724 Move preset image tag to each preset
dcfde03 Merge timeouts into a single timeout
dfbb99d Stop failed containers immediately

and other changes...

gnomock - v0.8.0

Published by orlangure over 4 years ago

  • Breaking change: all presets moved into the main repository under the main gnomock package.
  • HTTP wrapper merged into the same repo as well.
  • New higher default timeout values.
gnomock - v0.5.2

Published by orlangure over 4 years ago

gnomock - v0.5.0

Published by orlangure over 4 years ago