News for hackers. Stuff that matters.
Re:Ask HN: Best resources to learn how to do integration tes... by hazz99 on Monday October 29, 2018 @06:52AM (#18326387)
I'd definitely be interested in that blog post! I've been struggling with integration tests for a while. Here are a few issues I've ran into this week:

- Where do I put integration tests? In their own package, or beside unit tests?

- How do I automate the test environment? Should I use docker-compose? What if I'm already using docker-compose to launch the application - should I use Ansible instead?

- Should I put the different testing commands in a Makefile, or just use the builtin go test function?

Basically, I want to know the neatest, easiest way to configure a testing environment, and the most idiomatic way to write/launch integration tests.

I'm not asking you to answer these, but I thought they could be useful for that blog post :)

There are no comments on this comment yet.