https://github.com/metaskills/mini_backtrace
MiniBacktrace allows you to take advantage of the Rails.backtrace_cleaner when using MiniTest.
https://github.com/metaskills/mini_backtrace
Last synced: 5 months ago
JSON representation
MiniBacktrace allows you to take advantage of the Rails.backtrace_cleaner when using MiniTest.
- Host: GitHub
- URL: https://github.com/metaskills/mini_backtrace
- Owner: metaskills
- License: mit
- Created: 2011-03-23T01:05:20.000Z (over 14 years ago)
- Default Branch: master
- Last Pushed: 2015-05-03T00:21:57.000Z (over 10 years ago)
- Last Synced: 2025-04-26T04:14:33.399Z (5 months ago)
- Language: Ruby
- Homepage:
- Size: 96.7 KB
- Stars: 15
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rdoc
- License: MIT-LICENSE
Awesome Lists containing this project
README
= 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
* http://github.com/metaskills/mini_backtrace