Add tests feature
Dan just proposed a nice feature:
- Add a test command, that would run a run_tests() function on the build templates
- Default behaviour
- QMake:
make check
- CMake:
ctest
- Pure:
qmltestrunner
- QMake:
- One can define custom tests in the clickable.json in a way comparable to the libraries feature. If defined,
clickable test
would run those. - One can run a single test by specifying it like
clickable test customtest
- If a test returns a non-zero exit code, clickable should abort with the same exit code (?)
Edited by Jonatan Hatakeyama Zeidler