Merge lp:~lmc/repoze.who.plugins.ldap/enable-nosetests into lp:repoze.who.plugins.ldap
Status: | Needs review |
---|---|
Proposed branch: | lp:~lmc/repoze.who.plugins.ldap/enable-nosetests |
Merge into: | lp:repoze.who.plugins.ldap |
Diff against target: |
10 lines (+4/-0) 1 file modified
setup.cfg (+4/-0) |
To merge this branch: | bzr merge lp:~lmc/repoze.who.plugins.ldap/enable-nosetests |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gustavo Narea | Pending | ||
Review via email: mp+37464@code.launchpad.net |
Description of the change
By enabling nosetests we get a two-fold improvement: first, nosetests' output is much cleaner than standard python unittest; second, we gain free support for coverage.py.
At revision 79, by simply calling setup.py with a --with-cover extra option:
$ python setup.py nosetests --with-coverage
we will get the following output:
running nosetests
running egg_info
[...]
running build_ext
.......
Name Stmts Exec Cover Missing
-------
repoze.
repoze.
-------
TOTAL 133 102 76%
-------
Ran 37 tests in 0.096s
OK
Unmerged revisions
- 80. By Lorenzo M. Catucci <lorenzo@sancho>
-
Add proper configuration for nosetests usage.