Following #31, I noticed a bug (of my own introduction): Discovery via get_test_under_cursor works fine for FooTests.test_method_1, but not when cursor is at FooTests itself
This PR fixes that by adjusting find_test.NAME_MATCH, and adds test cases for top-level FooTest(s) invocations of get_test_under_cursor.
Following #31, I noticed a bug (of my own introduction): Discovery via
get_test_under_cursor
works fine forFooTests.test_method_1
, but not when cursor is atFooTests
itselfThis PR fixes that by adjusting
find_test.NAME_MATCH
, and adds test cases for top-levelFooTest(s)
invocations ofget_test_under_cursor
.