About
Dependencies
Installing and running
--
This small project is just an example (very simple) how to calculate code coverage for bash scripts with assert.sh framework and kcov tool.
All required dependencies:
- linux box (obviously)
- bash
- kcov (either installed widely in your system or placed inside tests/kcov/ dir)
Optional dependencies:
- assert.sh (v1.1) framework (scripts can fetch it from github directly)
If you have kcov tool already installed in your system it's enough to launch run_tests.sh and count_coverage.sh scripts to see how tests are being executed and how code coverage is measured. If not available bash test framework assert.sh will be downloaded automatically into tests/ dir.
--
travis-ci status for bash_covr_example: