Last active
December 16, 2015 17:59
-
-
Save pelme/5474397 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The quiet output does not show test execution times: | |
$ py.test -m 'not django_db' -q | |
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... | |
================= 421 tests deselected by "-m 'not django_db'" ================== | |
The standard output is too verbose in this case, but shows the execution time: | |
$ py.test -m 'not django_db' | |
====================== test session starts ======================= | |
platform darwin -- Python 2.7.2 -- pytest-2.3.4 | |
plugins: cache, contextfixture, cov, django, pep8, xdist | |
collected 1643 items | |
unit_tests/billing/admin.py .. | |
<<< 100 lines of output removed >>> | |
unit_tests/utils/logging_helpers/processors.py ......... | |
========== 421 tests deselected by "-m 'not django_db'" ========== | |
========== 1222 passed, 421 deselected in 24.90 seconds ========== | |
I would like to see something like: | |
$ py.test -m 'not django_db' | |
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... | |
========== 421 tests deselected by "-m 'not django_db'" ========== | |
========== 1222 passed, 421 deselected in 24.90 seconds ========== |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment