Displaying 1 result from an estimated 1 matches for "got_error".
Did you mean:
get_error
2006 Jul 14
1
receiving nil exception in rake tests
...quot; but
not showing any stack trace. I went into
/usr/local/ruby/.../rails/lib/tasks/testing.rake
and looked at the source that ran the tests.
I found these lines:
---
desc ''Test all units and functionals''
task :test do
Rake::Task["test:units"].invoke rescue got_error = true; puts
''Unit test error: '' + $!.inspect
Rake::Task["test:functionals"].invoke rescue got_error = true; puts
''Functional test error: '' + $!.inspect
if File.exist?("test/integration")
Rake::Task["test:integration"].inv...