Exemple #1
0
def dist():
    project_clean()
    run('python setup.py sdist bdist_wheel')
Exemple #2
0
def integrationtests():
    coverage_clean()
    run('coverage run -m nose --with-spec --spec-color --attr=integration')
    coverage_report()
Exemple #3
0
def systemtests():
    coverage_clean()
    run('coverage run -m behave')
    coverage_report()
Exemple #4
0
def coverage_report():
    run('coverage combine')
    run('coverage html')
    run('coverage report')
Exemple #5
0
def coverage_clean():
    rimraf('.coverage')
    rimraf('.coverage.*')
    rimraf('htmlcov')
    run('coverage erase')
Exemple #6
0
def tox_tests():
    run('coverage run -m nose --with-spec --spec-color')
    run('coverage run -m behave')
Exemple #7
0
def test():
    lint()
    coverage_clean()
    run('tox')
    coverage_report()
Exemple #8
0
def lint():
    run('flake8 findd tests')