[Pytest-commit] Issue #500: Warn if `py.test -k foo` finds no tests. (hpk42/pytest)

Thomas Güttler issues-reply at bitbucket.org
Thu Apr 10 11:39:50 CEST 2014


New issue 500: Warn if `py.test -k foo` finds no tests.
https://bitbucket.org/hpk42/pytest/issue/500/warn-if-pytest-k-foo-finds-no-tests

Thomas Güttler:

I think it would be a good useability improvement, if py.test would
warn me, if `py.test -k foo` finds no test at all.

I use version 2.5.2 and I see a green line, which indicates that all is good.

But if no tests was found, at least for me (interactive usage), it is a fault.

It would be nice to see a different color (not green) if no test was selected.




More information about the pytest-commit mailing list