Method: TestProf::RubyProf::Listener#example_started

Defined in:
lib/test_prof/ruby_prof/rspec.rb

#example_started(notification) ⇒ Object


20
21
22
23
24
# File 'lib/test_prof/ruby_prof/rspec.rb', line 20

def example_started(notification)
  return unless profile?(notification.example)
  notification.example.[:rprof_report] =
    TestProf::RubyProf.profile
end