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

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

If you're not sure about the file name format, learn more about wheel file names.

universalmutator-0.6.7.11-py2-none-any.whl (11.8 kB view details)

Uploaded Python 2

File details

Details for the file universalmutator-0.6.7.11-py2-none-any.whl.

File metadata

File hashes

Hashes for universalmutator-0.6.7.11-py2-none-any.whl
Algorithm Hash digest
SHA256 7670f0201fe0005e0f5e6f404312e9315e73725925be761f9645903c2559792e
MD5 a15965c733e4adafcc3e0fbf58f9842f
BLAKE2b-256 ea360419d87ecdaafd179d9f5d547f2b7ac768872778aa89569ff1c7f3188934

See more details on using hashes here.

Supported by

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