Skip to content

Releases: sQVe/mutation

v0.1.3

Choose a tag to compare

@github-actions github-actions released this 27 Oct 12:34
a809ac4

Patch Changes

  • #11
    6d93424
    Thanks @sQVe! - Skip the string mutants of a message pushed onto a
    problems, messages, errors, warnings, issues, or failures array in
    tauMessageIgnorer. Strings pushed onto other arrays, or onto a member such as this.problems,
    keep their mutants.

v0.1.2

Choose a tag to compare

@github-actions github-actions released this 22 Oct 18:00
320333e

Patch Changes

  • #9
    1c34352
    Thanks @sQVe! - Fail the run with an error when Stryker reports a
    mutant status the gate does not know, such as Pending, instead of passing.

v0.1.1

Choose a tag to compare

@github-actions github-actions released this 20 Oct 08:35
cfb7ee6

Patch Changes

  • #5
    a95479f
    Thanks @sQVe! - Correct the README on defaults: the command always adds
    the ignorer and its plugin, even to plugins and ignorers lists you set. Only ignoreStatic
    and timeoutMS take your value.

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 18:25
a002eca

Minor Changes

  • #1
    734e5e2
    Thanks @sQVe! - Add the mutation command. It runs StrykerJS on the
    lines a Git diff changes, or on whole files, with the Vitest or the Bun runner, and prints a JSON
    report. The package also exports the tauMessageIgnorer Stryker plugin as
    @sqve/mutation/ignorer.

Patch Changes

  • #3
    1fdd236
    Thanks @sQVe! - Leave files that the Stryker config's ignorePatterns
    ignores out of the changed scope, matching Stryker's own rules, instead of reporting them as
    unmutated. With --same-folder-tests, refuse an unsupported runner before any folder runs, even
    when a changed file's folder has no tests.

  • #4
    53c5db9
    Thanks @sQVe! - Match mutate globs that start with ./ or ../, and
    absolute globs, for both inclusion and ! exclusion, as Stryker does. Before, such a config
    silently dropped every changed file. With --same-folder-tests and the Bun runner, ignore a
    top-level testFiles in the config, so only the tests in the folder run. Refuse a config that
    names an ignorer other than tauMessageIgnorer when --max-mutants or --same-folder-tests is
    set, because the mutant count cannot apply it.

    Fail the status for a false survivor, as for a survivor. A static mutant that makes a Vitest test
    skip itself looks the same as a test file load failure in Stryker's report, so it can no longer
    hide a real survivor.