Skip to content

metaskills/mini_backtrace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

MiniBacktrace allows you to take advantage of the Rails.backtrace_cleaner when using MiniTest.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages