PackageTrack
Sign in Get early access

mutation_test

A command line application to measure the quality of your test cases by mutating your code and checking if your tests detect the changes.

1.8.0 48K downloads/mo #1496 most downloaded on pub.dev domohuhn/mutation-test

What this package is like to depend on

Last release 6 months ago

09 Feb 2026

Release timing varies

gaps range from 5 weeks to 1.2 years

Nearly every release is documented

notes for 15 of 15 stable releases

Nothing withdrawn

no release was ever pulled

4 years old

15 releases · first in 2022

2 releases in the last 12 months

see the full history below

Release timeline

15 releases · May 2022 to Feb 2026
2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 1.8.0 09 Feb 2026
    Release notes
    • The input files element now accepts the wildcards * and ** in its path
    • Added an option to exclude whole directories in the exclude tag. These options also accept the wildcards * and **.
    Open source →
    Release notes
    • The input files element now accepts the wildcards * and ** in its path
    • Added an option to exclude whole directories in the exclude tag. These options also accept the wildcards * and **.
    Open source →
  2. 1.7.1 16 Nov 2025
    Release notes
    • Fixed issues when inferring test commands: the working directory will be set to the current directory and on windows the commands are run inside a shell environment
    Open source →
    Release notes
    • Fixed issues when inferring test commands: the working directory will be set to the current directory and on windows the commands are run inside a shell environment
    Open source →
  3. 1.7.0 01 Sep 2024
    Release notes
    • Added new builtin rules that remove lines of code (void function calls and contents of arrays)
    • Coverage information is provided in the html report: line numbers of instrumented lines are displayed in red and executed lines are displayed in green
    • Fixed a problem when the user provides quality thresholds
    Open source →
    Release notes
    • Added new builtin rules that remove lines of code (void function calls and contents of arrays)
    • Coverage information is provided in the html report: line numbers of instrumented lines are displayed in red and executed lines are displayed in green
    • Fixed a problem when the user provides quality thresholds
    Open source →
  4. 1.6.0 25 Oct 2023
    Release notes
    • Added the option to exclude lines not covered by tests. You can pass a file with coverage information in the lcov format via
      the command line flag "--coverage".
    • Added the (experimental) option to strings from the mutations via command line switch.
    • Added a mutation that removes break statements from switches for C or C++
    Open source →
    Release notes
    • Added the option to exclude lines not covered by tests. You can pass a file with coverage information in the lcov format via the command line flag "--coverage".
    • Added the (experimental) option to strings from the mutations via command line switch.
    • Added a mutation that removes break statements from switches
    Open source →
  5. 1.5.1 04 Sep 2023
    Release notes
    • Fixed a bug that may cause the mutation test to stop in case the mutation reduces the code size near the end of the file.
    Open source →
    Release notes
    • Fixed a bug that causes the mutation test to stop in case the mutation reduces the code size near the end of the file.
    Open source →
  6. 1.5.0 01 Aug 2023
    Release notes
    • Optional function arguments are no longer swapped
    • If no test command is given, the program will try to infer it from pubspec.yaml
    • A single invocation of the program will now always produce a single report named mutation-test in the given output directory
    • Added a section in the readme explaining how to do an incremental analysis
    Open source →
    Release notes
    • Optional function arguments are no longer swapped
    • If no test command is given, the program will try to infer it from pubspec.yaml
    • A single invocation of the program will now always produce a single report named mutation-test in the given output directory
    Open source →
  7. 1.4.0 24 May 2023
    Release notes
    • Added junit/xunit style XML reports to conform to the standard for test tools.
      It should now be possible to upload the results in tools like Polarion.
    • Performing a dry run will now generate the specified outputs. All mutations
      defined by the rules will be marked as undetected.
    • Added optional "id" attribute to rules in the xml configuration file
    • xml configuration file version increased to 1.1
    • Added a column in the generated html report that shows the mutation pattern and id
    • Require dart 3
    Open source →
    Release notes
    • Added junit/xunit style XML reports to conform to the standard for test tools. It should now be possible to upload the results in tools like Polarion.
    • Performing a dry run will now generate the specified outputs. All mutations defined by the rules will be marked as undetected.
    • Added optional "id" attribute to rules in the xml configuration file
    • xml configuration file version increased to 1.1
    • Added a column in the generated html report that shows the mutation pattern and id
    • Require dart 3
    Open source →
  8. 1.3.4 09 Apr 2023
    Release notes
    • Improved mutation rules that switch function arguments
    • Updated dependencies
    Open source →
    Release notes
    • Improved mutation rules that switch function arguments
    • Updated dependencies
    Open source →
  9. 1.3.3 04 Feb 2023
    Release notes
    • Improved builtin rules with operators like "+=". There should be less useless mutations that are always detected now.
    • The <exclude> element in xml rule definitions now supports the exclusion of files by listing them as <file> element.
    Open source →
    Release notes
    • Improve builtin rules with operators like "+=". There should be less useless mutations that are always detected now.
    • The <exclude> element in xml rule definitions now supports the exclusion of files by listing them as <file> element.
    Open source →
  10. 1.3.2 30 Dec 2022
    Release notes
    • Added builtin rules to swap arguments on function calls.
    • Added a dark theme (prefers-color-scheme: dark) for html reports.
    Open source →
    Release notes
    • Added builtin rules to swap arguments on function calls.
    • Added a dark theme (prefers-color-scheme: dark) for html reports.
    Open source →
  11. 1.3.1 30 Oct 2022
    Release notes
    • Fixed bugs when creating reports.
    • Added additional unit tests so that the files are listed in coverage metrics
    Open source →
  12. 1.3.0 29 Oct 2022
    Release notes
    • Files without mutations are now no longer reported as NaN % mutations
    • Detected and mutations with timeouts are reported in the generated html
    • Updated the builtin rules to not test for +-0 and to exclude ++ and --
    Open source →
  13. 1.2.2 15 May 2022
    Release notes
    • Fixed minor problems with the generated html files. Source code strings are escaped and a table was fixed.
    Open source →
  14. 1.2.1 07 May 2022
    Release notes
    • Renamed executable to "mutation_test" follow dart file conventions.
    • Added exclusion rules for dart import and export statements in the default rule set.
    Open source →
  15. 1.2.0 07 May 2022
    Release notes
    • Html reports are prettier. The look of the files is inspired by the lcov reports.
    • Running the program without any arguments no longer causes an error. Instead, the program will assume that you are using a dart project, so alle files in lib/ will be mutated and tested via dart test.
    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive