Skip to main content

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

This version

0.3

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

universalmutator-0.3-py2-none-any.whl (10.5 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page