In theory, you should be able to run just one test suite with

   ruby test/unit/role_test.rb

However, the Rails 2 generator f---ed that up; no idea why. The maintainers 
were 
formerly very good at keeping the tests flexible.

But...

Carlos Santana wrote:

> However doing rake test:units still fails and so does 
> rake:test:test:rcov or rake test:units:rcov.

I think those rcov things are a test coverage issue. If you use TDD you should 
not need them.

> The error with rake test:units is:
> rake aborted!
> Command failed with status (1): [/usr/bin/ruby -Ilib:test 
> "/usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake/rake_test_loader.rb" 
> "test/unit/role_test.rb" "test/unit/attachment_test.rb" 
> "test/unit/section_test.rb" "test/unit/region_test.rb" "test/uni...]

Did you try rake test:units --trace ? or is this its output?

Try this rake_test_loader.rb thing on each test suite.

> However, following is successful:
> /usr/bin/ruby -Ilib:test 
> "/usr/lib/ruby/gems/1.8/gems/rake-0.8.2/lib/rake/rake_test_loader.rb" 
> "test/unit/region_test.rb"
> 


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to