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.
28 29 30 31 |
# File 'lib/flutter/minitest.rb', line 28 def initialize() super() @verbose = [:verbose] end |
Instance Method Details
#report ⇒ Object
33 34 35 36 37 38 39 40 41 |
# File 'lib/flutter/minitest.rb', line 33 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 |