handle mixed style unit test files as well as tests with '+' in their na... #224

wants to merge 4 commits into

1 participant


this fixes the the unit test regex to handle files where there are tests declared in both styles, ie:

def test_foo

test "bar" do

it also adds '+' to the list of allowable characters in a test name.


also another fix - files with test in their name were always matched as test unit tests, even if they weren't (ie, foo_test_spec.rb which should be run as rspec). i rearranged the matching order so that Rspec and Cucumber checks are first to avoid this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment