Repository navigation
·
1 commit
to main
since this release
Immutable
release. Only release title and notes can be modified.
Changed
gleam run -m metamon/mutation -- runfirst runs each test function alone with the lines undersrc/counted, split over the copies of the project, and records which tests reach which line. A mutant then runs the tests that reach its line in a fresherl, fastest first, and stops at the first failure; the failing test runs once more alone, and the mutant is killed when it fails again. Otherwise the mutant runsgleam testas before, so a survivor or a timeout is still decided by the whole suite, and a survivor still has to pass it three times. On packkit with 4 workers, the 63 mutants ofchecksum.gleamtook 1119 seconds instead of 2028, with the same 56 killed and 7 lived; making the map took 83 of those seconds.- On a terminal,
runprints one mark per mutant (.killed,Llived,Ttimed out,xdid not compile) and lists the survivors at the end. Elsewhere it still prints one line per mutant.
Install
gleam add metamonSee HexDocs for the API
reference.