Idris2/tests
Edwin Brady 9970c66417 Warn on detecting unreachable patterns
I don't know how complete this is, but it certainly detects some of the
most obvious cases which are most likely to be bugs.

While I'm at it, this is as good a time as any to add a general way of
reporting warnings, similar to the way of reporting errors.
2020-05-25 00:16:49 +01:00
..
chez All functions now need to be covering by default 2020-05-24 19:58:20 +01:00
ideMode More coverage checking fixes 2020-05-24 18:33:43 +01:00
idris2 Warn on detecting unreachable patterns 2020-05-25 00:16:49 +01:00
ttimp More coverage checking fixes 2020-05-24 18:33:43 +01:00
typedd-book All functions now need to be covering by default 2020-05-24 19:58:20 +01:00
Main.idr Warn on detecting unreachable patterns 2020-05-25 00:16:49 +01:00
Makefile Make sure literals are normalise on LHS 2020-05-23 11:48:15 +01:00
README.md Add test script 2020-05-19 18:25:18 +01:00
tests.ipkg Windows support 2020-05-21 15:13:06 +02:00

Tests

Note: The commands listed in this section should be run from the repository's root folder.

Run all tests: make test

To run only a subset of the tests use: make test only=NAME. NAME is matched against the path to each test case.

Examples:

  • make test only=chez will run all Chez Scheme tests.
  • make test only=ttimp/basic will run all basic tests for TTImp.
  • make test only=idris2/basic001 will run a specific test.