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