I have a Rails project in which I’ve been using “rake test” tasks with
great success. At some point (there were a few changes in the interim),
rake started aborting test tasks. Here is the dialog:
$ rake test:functionals
Task not supported by ‘’
(See full trace by running task with --trace)
The separate suites (e.g., “ruby test/functional/mycontroller_test.rb”)
work, reporting failures or not as usual.
rake test:units, test:functionals, and test:integration all fail the
same way. “rake test” successfully runs the functional and integration
tests, but aborts with the same message when it attempts the unit tests.
Among my changes were some shifting-around between a local SQLite
database and a MySQL server, but I’d think that wouldn’t be a problem if
the individual suites (and two subtasks of test) run normally. The
problem persists no matter which DB I put in database.yml. I think the
database issue is a red herring. “rake RAILS_ENV=test db:migrate” was
run, with the expected progress output, before the rake test
invocations. Re-running the migration outputs the “(in…)” line and
nothing else, as expected.
Google turns up little, and nothing with an empty supported-by string.
Apparently I’ve bent something, but I don’t know what. Will someone
please help me get back on track?