Hi,
To set up your automated tests, I need to create a docker-compose.test.yml
file which defines a sut
service that lists the tests to be run.
For example:
sut:
build: .
command: run_tests.sh
The example above builds the repository, and runs the run_tests.sh
file inside a container using the built image, by using Docker Cloud.
Tests will pass if the sut
service returns 0
, and fail otherwise.
How can I run unit tests defined via TestBox and let it return 0 if the test pass?
Thanks Rene