~ecs/minuet

automated test case minimizer with a few frills
fix compilation and improve spacing
oh right license
don't trim the last bit off

refs

minuet
browse  log 

clone

read-only
https://git.sr.ht/~ecs/minuet
read/write
git@git.sr.ht:~ecs/minuet

You can also use your local clone with git send-email.

#minuet

an automated test case minimizer with a few frills. usage is minuet <tester> <testcase>, minuet will run the tester with the test case passed in as the first argument and try to optimize the test case in some manner while maintaining invariants about the tester's exit status

in min mode, minuet will try to shrink the test case as much as possible while making sure that the tester exits with status 1 (the test fails)

in max mode, minuet will try to find a test case which is as close as possible to the one provided while making sure that the tester exits with status 0 (the test passes)

in iso mode, minuet will try to find some combination of passing and failing test cases which are as similar as possible. this is the fastest mode, by a lot

in miniso mode, minuet will essentially run min followed by iso, providing a minimal test case along with another test case which is as similar to it as possible. this is the default mode

(similar to https://github.com/andrewchambers/ddmin but with a better interface for the tester, addition of the max, iso, and miniso modes, and word/rune-wise splitting)