File tree Expand file tree Collapse file tree 1 file changed +32
-8
lines changed Expand file tree Collapse file tree 1 file changed +32
-8
lines changed Original file line number Diff line number Diff line change @@ -13,25 +13,49 @@ basedeps = keyring
13
13
deps = {[testenv]basedeps}
14
14
django
15
15
setenv =
16
- PYTHONPATH =../google_appengine
17
16
pypy: with_gmp =no
18
17
commands = nosetests --ignore-files =test_appengine\.py {posargs}
19
18
20
- [testenv:cover ]
19
+ [coverbase ]
21
20
basepython = python2.7
22
21
commands =
23
- nosetests --with-xunit --with-xcoverage --cover-package =oauth2client --nocapture --cover-erase --cover-tests --cover-branches --ignore-files =test_appengine\.py --cover-min-percentage =60
22
+ nosetests \
23
+ --with-coverage \
24
+ --cover-package =oauth2client \
25
+ --cover-erase \
26
+ --cover-tests \
27
+ --cover-branches \
28
+ --ignore-files =test_appengine\.py
29
+ nosetests \
30
+ --with-coverage \
31
+ --cover-package =oauth2client.appengine \
32
+ --with-gae \
33
+ --cover-tests \
34
+ --cover-branches \
35
+ --gae-application =tests/data \
36
+ --gae-lib-root ={env:GAE_PYTHONPATH} \
37
+ --logging-level =INFO \
38
+ tests/test_appengine.py
24
39
deps = {[testenv]deps}
25
40
coverage
26
- nosexcover
41
+ nosegae
42
+
43
+ [testenv:cover]
44
+ basepython = {[coverbase]basepython}
45
+ commands =
46
+ {[coverbase]commands}
47
+ coverage report --show-missing --fail-under 80
48
+ deps =
49
+ {[coverbase]deps}
27
50
28
51
[testenv:coveralls]
29
- basepython = {[testenv:cover ]basepython}
52
+ basepython = {[coverbase ]basepython}
30
53
commands =
31
- {[testenv:cover]commands}
54
+ {[coverbase]commands}
55
+ coverage report --show-missing
32
56
coveralls
33
57
deps =
34
- {[testenv:cover ]deps}
58
+ {[coverbase ]deps}
35
59
coveralls
36
60
passenv = {[testenv:system-tests]passenv}
37
61
@@ -56,7 +80,7 @@ basepython = python2.7
56
80
deps = {[testenv]basedeps}
57
81
nosegae
58
82
commands =
59
- nosetests --with-gae --gae-application =tests/data --logging-level =INFO {posargs} tests/test_appengine.py
83
+ nosetests --with-gae --gae-application =tests/data --logging-level =INFO tests/test_appengine.py
60
84
setenv:
61
85
PYTHONPATH ={env:GAE_PYTHONPATH:}
62
86
You can’t perform that action at this time.
0 commit comments