diff options
| author | Alex Gaynor <alex.gaynor@gmail.com> | 2014-12-05 18:42:44 -0800 |
|---|---|---|
| committer | Alex Gaynor <alex.gaynor@gmail.com> | 2014-12-05 18:42:44 -0800 |
| commit | 613b067b315dea1bd185e39afbc01512a5bf6d7b (patch) | |
| tree | fe624bd5429f72c325550f91378882f5aa95be5e | |
| parent | dad8bed5696616d672c4f5e07977e231e87093c0 (diff) | |
| parent | 3aaea256a0e73b6f2c585edf53fce52a15b49322 (diff) | |
| download | py-bcrypt-git-613b067b315dea1bd185e39afbc01512a5bf6d7b.tar.gz | |
Merge pull request #22 from dstufft/coverage
Enable coverage testing and require 100% coverage
| -rw-r--r-- | .coveragerc | 5 | ||||
| -rw-r--r-- | tox.ini | 4 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.coveragerc b/.coveragerc new file mode 100644 index 0000000..1db160f --- /dev/null +++ b/.coveragerc @@ -0,0 +1,5 @@ +[run] +branch = True +source = + bcrypt + tests/ @@ -4,10 +4,12 @@ envlist = py26,py27,pypy,py32,py33,py34,pep8,py3pep8 [testenv] # If you add a new dep here you probably need to add it in setup.py as well deps = + coverage mock pytest commands = - py.test --strict {posargs} + coverage run -m pytest --strict {posargs} + coverage report -m --fail-under 100 [testenv:pep8] deps = |
