when test scripts fail to load, no tests may be run and no error is given

Bug #1503102 reported by Robert Collins on 2015-10-06
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Testrepository
Wishlist
Unassigned

Bug Description

Consider this:

I have a test_foo.py.

I run some tests.

I edit the file and run 'testr run someregex'

But I edited test_foo and now it doesn't load. So if I were to list-tests, there would be no tests matching my regex. But testr knows there *were* valid tests.

It would be great if testr could detect this and turn it into an error somehow.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers