Class: Flutter::Minitest::Reporter
- Inherits:
-
Minitest::AbstractReporter
- Object
- Minitest::AbstractReporter
- Flutter::Minitest::Reporter
- Defined in:
- lib/flutter/minitest.rb
Instance Method Summary collapse
-
#initialize(options) ⇒ Reporter
constructor
A new instance of Reporter.
- #report ⇒ Object
Constructor Details
#initialize(options) ⇒ Reporter
Returns a new instance of Reporter.
26 27 28 29 |
# File 'lib/flutter/minitest.rb', line 26 def initialize() super() @verbose = [:verbose] end |
Instance Method Details
#report ⇒ Object
31 32 33 34 35 36 37 38 39 |
# File 'lib/flutter/minitest.rb', line 31 def report return unless ::Flutter.enabled Flutter::Minitest.flutter_tracker.persist! $stdout.puts "Flutter filtered #{Flutter::Minitest.filtered} / #{Flutter::Minitest.total} tests" if @verbose $stdout.puts "Persisted flutter #{Flutter::Minitest.flutter_tracker}" end end |