MiniBacktrace allows you to take advantage of the Rails.backtrace_cleaner when using MiniTest.
Ruby
Latest commit 60caff3 Jan 4, 2012 @metaskills Relax gem spec a bit.
Permalink
Failed to load latest commit information.
lib
test
.gitignore
.rvmrc
Gemfile
MIT-LICENSE
README.rdoc
Rakefile
mini_backtrace.gemspec

README.rdoc

MiniBacktrace

MiniBacktrace allows you to take advantage of the Rails.backtrace_cleaner when using MiniTest. This includes everyone using Rails 3 with Ruby 1.9.

Usage

Just add 'mini_backtrace' to your Gemfile's :test group and your should automatically see a huge difference. Any additions to the Rails.backtrace_cleaner should now work.

Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }

Code