Testing in Docker
Anton Osmond
172

I’ve started developing my docker apps (APIs, at least) to use a different container for API tests. Basically, build the app as production always and have another docker container run tests against it. I’ve managed to get Nodemon and Mocha working between the containers in such a way that during development you can have ‘watch’ working on both containers.

I’ve posted my code up on GitHub: https://github.com/dsample/skeleton-api-node

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.