3 ms·
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
by hazz99 8y ago
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 :)