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 4/2/07, Michael Moen <[EMAIL PROTECTED]> wrote:
> 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.
>
> _______________________________________________
> engine-users mailing list
> [email protected]
> http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org
>


-- 
* J *
  ~
_______________________________________________
engine-users mailing list
[email protected]
http://lists.rails-engines.org/listinfo.cgi/engine-users-rails-engines.org

Reply via email to