Forum: Rails Engines New plugin doesn't pickup tests?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
14619cc9314db27483a304b4dd323f3b?d=identicon&s=25 Michael Moen (Guest)
on 2007-04-02 06:03
(Received via mailing list)
I'm putting together a new plugin for internal use and I have a
feeling I'm missing something. I have the test/* directories setup:


but running rake test:plugins merely produces:

(in /Users/mmoen/sites/plugintest)
/opt/local/bin/ruby -Ilib:test "/opt/local/lib/ruby/gems/1.8/gems/
Loaded suite /opt/local/bin/rake

Finished in 0.000483 seconds.

0 tests, 0 assertions, 0 failures, 0 errors

Everything else seems to be working I can interact with the models in
the console and plugin_migrations are working.

Thanks in advance.
05d703f649ef1d07e78d7b479fb4c4ac?d=identicon&s=25 James Adam (Guest)
on 2007-04-02 11:00
(Received via mailing list)
Try rake test:plugins:all - the default (without engines) plugin
mechanism doesn't deal with functional/unit tests in the same way as a
rails application.
14619cc9314db27483a304b4dd323f3b?d=identicon&s=25 Michael Moen (Guest)
on 2007-04-02 19:46
(Received via mailing list)

rake test:plugins:all didn't run them either, but rake test:plugins
PLUGIN=name did

This topic is locked and can not be replied to.