`rake test` misbehaves when using relative path starting with `./`
amomchilov opened this issue · comments
Alexander Momchilov commented
In Rake v13.0.1, e.g.:
rake test test/controllers/some_test.rb
runs only the tests in some_test.rb
rake test ./test/controllers/some_test.rb
Seems to completely ignore the arg, and runs all tests. Expected to be equivalent to test/controllers/some_test.rb
gemmaro commented
Specifying test files with Rake::TestTask
is like rake test TEST=test/controllers/some_test.rb
, as in lib/rake/testtask.rb
. In my setup, it works fine in both cases. Maybe there is another library (Rails?) unrelated to Rake that defines some behavior.