Features
- Add ability to use custom logger.
TestProf.configure do |config|
config.logger = Logger.new($stdout, level: Logger::WARN)
end
- Add
nate_heckler
mode for FactoryProf.
Drop this into your rails_helper.rb
or test_helper.rb
:
require "test_prof/factory_prof/nate_heckler"
And for every test run see the overall factories usage:
[TEST PROF INFO] Time spent in factories: 04:31.222 (54% of total time)