Forum: Ruby on Rails strange rake behavior

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2c1a10ad0cce0f73e11a2a558a69f97c?d=identicon&s=25 gcnovus (Guest)
on 2007-07-25 02:21
(Received via mailing list)
I'm getting some really really really odd testing behavior.

1.  Running rake test:units passes with flying colors.  (Well, that's
not what I mean by weird, but I suppose it is ;) )

2.  Running rake test:functionals yields something like
..........................E..............EEEEE.......EEEE...rake
aborted!
But doesn't print any stack traces or error message output for the Es
(even if I call it with -t for tracing).

3.  Running ruby test/functional/_____.rb for each of my functional
tests passes with flying colors.

So my questions are
a) why no error messages?  why no stack traces?
b) why does rake fail, but direct testing work?

I'm using test-spec and test-spec-on-rails, but everything was working
a few commits ago.

-Gaius
2c1a10ad0cce0f73e11a2a558a69f97c?d=identicon&s=25 gcnovus (Guest)
on 2007-07-25 02:23
(Received via mailing list)
I suppose I should add the stack trace that I get with -t tracing:

Command failed with status (): [/usr/local/bin/ruby -Ilib:test "/usr/
local...]
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:740:in `ruby'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `ruby'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
117:in `define'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:823:in
`verbose'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake/testtask.rb:
102:in `define'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in
`execute'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in
`invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`synchronize'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in
`invoke'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`each'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in
`top_level'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in
`standard_exception_handling'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'
/usr/local/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7
/usr/local/bin/rake:18:in `load'
/usr/local/bin/rake:18

That's for the rake task itself, not for any individual test.  None of
those output anything.

-Gaius
This topic is locked and can not be replied to.