Making bacon more quiet - Ramaze/ramaze GitHub Wiki
Sometimes, you don't want to see backtraces in your test output.
bacon accepts a -Q
argument to disable them.
If you use rake to start your tests, you can set backtrace on/off by setting an environment variable. You can then check for this variable in your rake task :
Bacon.const_set :Backtraces, false unless ENV['BACON_MUTE'].nil?
Starting your rake task like this (assuming the spec task starts your tests) :
BACON_MUTE=1 rake spec
will suppress bacon backtraces.