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.7.19-py2-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e3fa8c4008e44680bf83eaec9598a23db6bdc4a496ce1298ea4895290aca88 |
|
MD5 | 7d2dcf27c3343302506345e3e86deb70 |
|
BLAKE2b-256 | d20758e810c6fff7d739a3b82ab9bc1b2f159d98b08a46a2bbbca31a3ffc8d51 |