able to find a great solution. I'm currently using qur/withmock
<https://godoc.org/github.com/qur/withmock> which works decently except
that it is a little buggy and takes a very long time to run (it copies and
rewrites mocked packages in a separate directory).
Here is an example of something that I am currently using qur/withmock for:
The code I am testing uses websockets to consume the IBM speech to text
API. It's especially important that I mock the API calls because a real
transcription can take an hour. Does anyone have suggestions for a better
way to test this code?
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.