-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathMakefile
41 lines (28 loc) · 860 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
MODULES=pluginloader
all: pep8 flakes test
test:: clear_coverage run_unit_tests run_integration_tests run_acceptance_tests
unit_test:: run_unit_tests
acceptance_test:: run_acceptance_tests
analysis:: pep8 flakes
pep8:
@echo Checking PEP8 style...
@pep8 --statistics ${MODULES} tests
flakes:
@echo Searching for static errors...
@pyflakes ${MODULES}
coveralls::
coveralls
publish::
@python setup.py sdist upload
run_unit_tests:
@echo Running Tests...
@nosetests -dv --exe --with-xcoverage --cover-package=${MODULES} --cover-tests tests/unit
run_integration_tests:
@echo Running Tests...
@nosetests -dv --exe --with-xcoverage --cover-package=${MODULES} --cover-tests tests/integration
run_acceptance_tests:
@echo Running Tests...
@nosetests -dv --exe tests/acceptance
clear_coverage:
@echo Cleaning previous coverage...
@coverage erase