Class: Minitest::TestProf::EventProfFormatter

Inherits:
Object
  • Object
show all
Defined in:
lib/minitest/event_prof_formatter.rb

Overview

:nodoc:

Instance Method Summary collapse

Constructor Details

#initialize(profiler) ⇒ EventProfFormatter

Returns a new instance of EventProfFormatter.



14
15
16
17
# File 'lib/minitest/event_prof_formatter.rb', line 14

def initialize(profiler)
  @profiler = profiler
  @results = []
end

Instance Method Details

#prepare_resultsObject



19
20
21
22
23
24
# File 'lib/minitest/event_prof_formatter.rb', line 19

def prepare_results
  total_results
  by_groups
  by_examples
  @results.join
end