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: ./test/test_helper.rb ./test/fixtures/users.yml ./test/functional/users_controller_test.rb ./test/unit/user_test.rb 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/ rake-0.7.2/lib/rake/rake_test_loader.rb" Loaded suite /opt/local/bin/rake Started 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.
on 2007-04-02 06:03
on 2007-04-02 11:00
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.
on 2007-04-02 19:46
James- rake test:plugins:all didn't run them either, but rake test:plugins PLUGIN=name did Thanks-
Please log in before posting. Registration is free and takes only a minute.
Existing account
(Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
Log in with Google account | Log in with Yahoo account
No account? Register here.