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.7.2-py2-none-any.whl (13.1 kB view details)

Uploaded Python 2

File details

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

File metadata

File hashes

Hashes for universalmutator-0.7.2-py2-none-any.whl
Algorithm Hash digest
SHA256 c08538fbaeb3b9298ed5e96e94001eee3d02c6c4cb991fa72d94d795eba5c0c0
MD5 7f5ffc74a309d10585a101587f4918c0
BLAKE2b-256 19017d4f753044d68b8c187175e034a7b2d96109e05962be8dc1905c566fa570

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