automated tests - Don't stop on Rails TestTask failure -
i'm adding test task in rakefile, similar this:
namespace :test do
desc "test lib source" rake::testtask.new(:lib) |t|
t.libs << "test" t.pattern = 'test/lib/**/*_test.rb' t.verbose = true
end
end
and adding (have done using "enhance" same result: task :test => [ 'test:lib' ]
my problem if there error encountered in test:lib, suite stops running. that's not terrible thing, ideally go on run rest of suite let me know there more issues later in suite.
anyone know how make report errors/failures in test:lib go on run full suite?
thanks!
used along these lines (minus "on fly" bit):
http://toolmantim.com/articles/creating_rake_testtasks_on_the_fly
Comments
Post a Comment