Universal regexp-based mutation tool
Project description
Start on a tool based purely on regexp-specified rewrite of code lines for mutation generation, including multi-language rules aided by special rules for languages or even projects.
HOW TO USE IT
To use this, you should really just do:
pip install universalmutator
then
mutate –help
SIMPLE EXAMPLE USAGE
mutate foo.py
or
mutate foo.swift
should, if you have the appropriate compilers installed, generate a bunch of valid, non-trivially redundant, mutants.
It will, right now, also have the side effect of executing foo.py if it is a script, not a module, many times, and leave some junk files in the directory, just FYI.
MORE INFORMATON
Aim is partly to see how quickly mutation can be applied to new languages, partly how much work of a tool can be offloaded to the compiler / test analysis tools.
Authors: Alex Groce, Darko Marinov, Lingming Zhang
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distribution
Hashes for universalmutator-0.6.8-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ec2844839ea7e5b244fe7fd90e6ac4b57d71f1c75e8b102a5c7ff56fc49bfb4e |
|
MD5 | 567b6eff4f53e10842f8a78ece281eee |
|
BLAKE2b-256 | 928a3452e1861efba05f1aae793b7e69f8d9aac73399f6973732f960819f7b6c |