List Info

Thread: test only fails when run through rake




test only fails when run through rake
user name
2006-07-31 22:29:45
Hello,

I have a TestTask setup to run my tests. However, one of my
tests
unexpectedly fails with "<nil> is not
true" when i run it through
rake. If i run the test file directly, it passes as
expected.

at first, i thought this behavior was isolated to just the
one test
but i changed the order the tests are run and that causes a
different
test to fail when it should pass.

here are the contents of my Rakefile (i removed everything
else to
narrow the scope of the problem):

require 'rubygems'
require 'rake/testtask'

task :default => :test

Rake::TestTask.new do |t|
  t.pattern = 'test/**/*_test.rb'
  t.verbose = true
  t.warning = false
end

Any ideas?

Thanks.
jeremy
_______________________________________________
Rake-devel mailing list
Rake-develrubyforge.org
http
://rubyforge.org/mailman/listinfo/rake-devel
[1]

about | contact  Other archives ( Real Estate discussion Medical topics )