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

Popular posts from this blog

c++ - Convert big endian to little endian when reading from a binary file -

C#: Application without a window or taskbar item (background app) that can still use Console.WriteLine() -

unicode - Are email addresses allowed to contain non-alphanumeric characters? -