sbosnick / luther

Luther is an embedded lexer generator for stable Rust.
Apache License 2.0
5 stars 2 forks source link

Change the testsuite test runner to a Rust CLI application. #2

Closed sbosnick closed 6 years ago

sbosnick commented 6 years ago

The current test runner is a bash script in luther-derive/testsuite/runtests. In addition to not working on Windows it is brittle and verbose in the wrong ways.

The new test runner should have the following features:

It may be possible to parallelize the tests with this runner, but this is more of a stretch goal at this point.

It may be possible to use this approach to hook the new runner into the project as a "cargo testsuite" command.

The quicli crate is probably a good place to start with the implementation of the application.

Once the new application is implemented then it should be hooked into the Travis ci script at ci/check_test_coverage.