Michael Foord added the comment:

I'd agree that a test run that actually runs zero tests almost always indicates 
an error, and it would be better if this was made clear. 

I have this problem a great deal with Go, where the test tools are awful, and 
it's very easy to think you have a successful test run (PASS) when you actually 
ran zero tests.

Particularly with discovery you will want to know your invocation is wrong.

I'm agnostic on a new "--min-tests" parameter, but having zero tests found 
should return a non-zero exit code and display a warning.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18232>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to