Skip to content

v0.22.0

Latest

Choose a tag to compare

@github-actions github-actions released this 30 Nov 17:29
· 1 commit to main since this release
Immutable release. Only release title and notes can be modified.
d1bacf4

Changed

  • gleam run -m metamon/mutation -- run first runs each test function alone with the lines under src/ 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 fresh erl, 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 runs gleam test as 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 of checksum.gleam took 1119 seconds instead of 2028, with the same 56 killed and 7 lived; making the map took 83 of those seconds.
  • On a terminal, run prints one mark per mutant (. killed, L lived, T timed out, x did not compile) and lists the survivors at the end. Elsewhere it still prints one line per mutant.

Install

gleam add metamon

See HexDocs for the API
reference.