Python mutation testing: test your tests! Safely run mutation trials without source code modifications and see what will get past your test suite.
Patch in GenomeGroup.add_folder
to ensure exclude_files
uses fully resolved paths:
https://github.com/EvanKepner/mutatest/blob/master/CHANGELOG.rst#121
Includes feature #18 for allowing test timeouts, and addresses a bug in the exclude
argument.
https://github.com/EvanKepner/mutatest/blob/master/CHANGELOG.rst#120
Bug Fix #15: Fix LocIndex ast_class setting for Index nodes.
Add support for a mutatest.ini
configuration file for command line arguments. See the docs for details e.g.,
[mutatest]
blacklist = nc su sr
exclude =
mutatest/__init__.py
mutatest/_devtools.py
mode = sd
rseed = 567
testcmds = pytest -m 'not slow'
debug = no
nocov = no
Moving from the alpha to the beta version with an API design. The alpha releases were focused on defining the functionality of the CLI. In the beta version, the CLI remains unchanged; however, a full internal design has been applied to create a coherent API. The controller, optimizers, and maker modules have been fully replaced by run, api, and filters. See the new full API documentation for details on using these modules outside of the CLI. Additionally, pytest has been removed from the install requirements since it is an assumption of the default test runner but not an API requirement.
--exception
and -x
as a survivor tolerance to raise an exception after the trial completes if the count of surviving mutants is greater than or equal to the specified value.--whitelist
and --blacklist
with category codes for mutation families.Added new If
mutation:
If_Statement
and mutated to be either If_True
where the statement always passes, or If_False
where the statement is never passed.