Exemple #1
0
#!/Library/Frameworks/Python.framework/Versions/3.4/bin/python3

import sys
from mutpy import commandline

if __name__ == '__main__':
    commandline.main(sys.argv)
def run_mut2(src, test, out_file, mut_runner):
    src = 'src/mutpy/utils.py'
    test = 'src/tests/mutpytests/test_utils.py'
    sys.argv = ['mut.py', '--target', src, '--unit-test', test,
                '--report', 'REPO/MUTPY/REPO_utils',]# '--runner', mut_runner, '-q']
    commandline.main(sys.argv)
Exemple #3
0
#! /usr/bin/env python3

from mutpy import commandline
import sys
if __name__ == '__main__':
    commandline.main(sys.argv)
def run_mut(src, test, out_file, mut_runner):
    src = 'src/' + src
    test = 'src/tests/' + test
    sys.argv = ['mut.py', '--target', src, '--unit-test', test,
                '--report', out_file, '--runner', mut_runner, '-q']
    commandline.main(sys.argv)