gambol99 / go-marathon

A GO API library for working with Marathon
Apache License 2.0
199 stars 128 forks source link

Add Marathon test double #108

Open mattes opened 8 years ago

mattes commented 8 years ago

Idea: Use the Marathon interface{} to provide an in-memory mock of marathon.

timoreimann commented 8 years ago

Or fake. See also https://github.com/gambol99/go-marathon/issues/106#issuecomment-159024529 and the subsequent discussion.

dmajere commented 8 years ago

@mattes, @timoreimann Hi, guys. I've been using marathon mock based on testify.mock library. Check it out in this gist - https://gist.github.com/dmajere/3ea25e488cd0a02a507fa77cb3c2c76a

If you like it, i can make a PR