seattlerb/minitest — pull request #140 by oliamb (2012-06-25 15:29:28+00:00)
Title: Prevent running methods which starts with tests instead of test_

Hi,

I would like to push this change that prevent running methods which starts with tests instead of test_. I saw the Regexp is already used in the tests to kill all the test methods.

For exemple in one of my Rails app, there is two methods named tests_path and tests_url in my TestCase superclass (are they provided by RoR or another gem is another question). The results is that in every test case, they are both run as test (0.3s penalty per test).

Moreover, this will behave like in test/unit and will make any migration easier.

Thanks for the good framework and have a nice week,
Olivier