README.md 571 B

test framework

setup

You must install Flexitest first, as below.

git clone https://codeberg.org/treyd/flexitest.git
cd flexitest/
poetry install

Or you could use a virtualenv if you want to do it the right way instead, but I don't usually like doing it the right way because I think I know better.

run

./run-tests.sh is the main script, pick a specific test to run by passing its module name as an argument, like ./run-tests.sh fn_foobar.

Set CARGO_DEBUG=1 to add the debug build output dir to PATH instead of the release build output dir.