Forum: Ruby on Rails rake test swallowing errors

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
matt (Guest)
on 2007-04-05 19:49
(Received via mailing list)
I am trying to write a rake commit task so that before I commit
changes to svn it executes my unit tests. I have a failing unit test,
but the test:units is not raising the exception so my commit task
still executes.

Example:

task :commit => :test do
  #should not reach because I have a failing test, but the test task
passes anyway and executes this
  #subversion commit done here
end
This topic is locked and can not be replied to.