cargo-minimize/testsuite/README.md
Nilstrieb 50dc094ddd speed up tests by doing rustup which
`cargo test` goes from 2.4s to 1.6s
2023-09-23 16:04:17 +02:00

467 B

testsuite

The test suite works the following way:

We have a bunch of files in $WORKSPACE/full-tests, every file is a test. We then run cargo-minimize on that. ~MINIMIZE-ROOT are required to be present in the minimization, and we expect ~REQUIRE-DELETED to be deleted by cargo-minimize.

We use bin/regression_checked as our custom script to verify whether it "reproduces", where for us, "reproduces" means "all roots are present and the code compiles".