Rake errors - not as helpful as they could be

hi list -

i recently attempted to run rake for a first pass at some tests and ran
into
a mysterious failure. rake indicated that it had aborted running the
tests
but provided little information on exactly why this occurred. the only
bit
of information it did offer was that i could use --trace for a full
trace.
of course i did that hoping it would provide more detail, but it didn’t
help
a whole lot. i thought about it for a minute and quickly realised that i
had
not set a database username/password for the testing environment (yes i
am a
n00b).

sure i should have been more on top of things with my environment
configuration but it seems as though a better error (‘Failed to connect
to
database NAME’ or some such) could be presented to the user rather than
the
end result (abort/fail). would this bug be considered on rails or on
rake
proper?

regards,
jean-pierre

###########################

stevez.sea-urchin ~/Sites/auth -=> rake
(in /Volumes/local/Users/stevez/Sites/auth)
/opt/local/bin/ruby -Ilib:test
“/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb”

/opt/local/bin/ruby -Ilib:test
“/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb”

rake aborted!
Test failures

(See full trace by running task with --trace)
stevez.sea-urchin ~/Sites/auth -=> rake --trace
(in /Volumes/local/Users/stevez/Sites/auth)
** Invoke default (first_time)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:test:prepare
** Invoke db:test:clone (first_time)
** Invoke db:schema:dump (first_time)
** Invoke environment
** Execute db:schema:dump
** Execute db:test:clone
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Invoke test:functionals (first_time)
** Invoke db:test:prepare
** Execute test:functionals
/opt/local/bin/ruby -Ilib:test
“/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb”

** Invoke test:integration (first_time)
** Invoke db:test:prepare
** Execute test:integration
/opt/local/bin/ruby -Ilib:test
“/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb”

rake aborted!
Test failures
/opt/local/lib/ruby/gems/1.8/gems/rails-1.1.2/lib/tasks/testing.rake:35
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:in
execute' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:387:inexecute’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:357:in invoke' /opt/local/lib/ruby/1.8/thread.rb:135:insynchronize’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:364:ininvoke_prerequisites’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:999:in each' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:363:ininvoke_prerequisites’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:356:in invoke' /opt/local/lib/ruby/1.8/thread.rb:135:insynchronize’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:350:in invoke' /opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:inrun’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake.rb:1906:in `run’
/opt/local/lib/ruby/gems/1.8/gems/rake-0.7.1/bin/rake:7
/opt/local/bin/rake:18
stevez.sea-urchin ~/Sites/auth -=>