Commit Graph

3 Commits

Author SHA1 Message Date
Alex Willmer dc60f05a40 tests: Switch to unit2 test runner, with coverage
This means test files are imported as modules, not run as scripts. THey
can still be run individually if so desired. Test coverage is measured,
and an html report generated in htmlcov/. Test cases are automativally
discovered, so they need not be listed twice. An overall
passed/failed/skipped summary is printed, rather than for each file.

Arguments passed to ./test are passed on to unit2. For instance

    ./test -v

will print each test name as it is run.
2018-04-01 01:43:45 +01:00
David Wilson 23f78ca5a2 README: move testing bits into tests directory. 2018-03-19 21:58:32 +05:45
David Wilson 40e2e6eb4c Add README.md to tests subdir. 2018-03-19 21:35:36 +05:45