Skip to content

Commit

Permalink
Switched to noserunner and coverage.py
Browse files Browse the repository at this point in the history
  • Loading branch information
rspivak committed Apr 28, 2011
1 parent b2a5cd8 commit 41451af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 17 deletions.
5 changes: 5 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[report]
omit =
parts/*
eggs/*
*/test*
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ develop-eggs
dist
downloads
eggs
htmlcov
parts
src/*.egg-info
var
19 changes: 2 additions & 17 deletions buildout.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ extends = versions.cfg
parts =
app
test
coverage-test
coverage-report
pep8-bin
pep8
pylint-bin
Expand All @@ -24,6 +22,7 @@ versions = versions
[app]
recipe = z3c.recipe.scripts
eggs =
createcoverage
${buildout:eggs}

[ipython]
Expand All @@ -39,21 +38,7 @@ directory = ${buildout:directory}/var
command = mkdir ${:directory}

[test]
recipe = zc.recipe.testrunner
eggs = slimit [test]
extra-paths = ${buildout:directory}/parts/test/working-directory
defaults = ['--tests-pattern', '^f?tests$', '-v']

[coverage-test]
recipe = zc.recipe.testrunner
eggs = ${test:eggs}
defaults = ['--coverage', '${var:directory}/coverage', '-v', '--auto-progress']

[coverage-report]
recipe = z3c.recipe.scripts
eggs = z3c.coverage
scripts = coveragereport
arguments = ('${var:directory}/coverage', '${var:directory}/report')
recipe = pbp.recipe.noserunner

[pep8-bin]
recipe = z3c.recipe.scripts
Expand Down

0 comments on commit 41451af

Please sign in to comment.