Idris2-boot/tests
Jan de Muijnck-Hughes af27bce2e2 Enhance literate mode to recognise multi-modes.
While Bird Style literate mode is useful, it does not lend itself well
to more modern markdown-like notations such as Org-Mode and CommonMark.

This commit extends Idris2's existing literate mode to recognise both
'visible' and 'invisible' code blocks and lines in predefined markdown
styles.

The styles and their elements are:

+ Bird Style :: `>` denotes a visible code line, `<` a hidden code
                line.

+ OrgMode :: Org Mode source blocks for idris are recognised as
             visible code blocks, and comment blocks are invisible
             code blocks. Invisible code lines are denoted with
             `#+IDRIS:`.

+ CommonMark :: Only code blocks denoted by standard code blocks
                labelled as idris are recognised.

For backwards compatibility, we recognise literate modes by file
extension:

+ Bird Style :: `.lidr`
+ OrgMode :: `.org`
+ CommonMark :: `.md`

In future we should add support for literate `LaTeX` files, and more
intelligent processing of literate documents using a pandoc like
library in Idris such as: [Edda](https://github.com/jfdm/edda).
2020-04-21 19:27:46 +01:00
..
chez Merge branch 'master' into fix-chez-in-folder-with-spaces 2020-04-21 15:01:01 +02:00
ideMode Add a lambda lifter 2020-04-19 22:57:10 +01:00
idris2 Enhance literate mode to recognise multi-modes. 2020-04-21 19:27:46 +01:00
ttimp Add tests for default implict record type arguments 2020-04-17 12:22:36 +01:00
typedd-book Rabbit hole 2020-03-27 00:11:21 +00:00
Main.idr Enhance literate mode to recognise multi-modes. 2020-04-21 19:27:46 +01:00
Makefile [ new ] interactive test runner 2020-04-06 11:06:19 +01:00
README.md Add instructions on how to run a subset of the tests 2019-07-28 20:21:34 +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.