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

Open
wants to merge 4 commits into
from

1 participant

@modosc

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

def test_foo
end

test "bar" do
end

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

@modosc

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