- Docker
- Docker-compose
From the root of the project simply run command ./tests/run.sh
and see results on the screen
You can pass only one argument - string with names of the tests you want to run(e.g ./tests/run.sh "test1 test2"
), basically it should be names of directories under ./tests
Some binary ENV variables for tests runner(By default everything is 0
, you can set it to 1
or any non-zero value):
NO_COLOURS
- disable fancy coloured outputDEBUG
- will output everything from tests scriptsNO_CLEANUP
- will not destroydocker-compose
environment after each test
Create a new file ./tests/MY_AWESOME_TEST/run.sh
and return code from it:
0
- test passed*
- test failed - STDOUT might contain description
Context of the test will be root folder of the repository.