Module: Flutter::Minitest::Hooks
- Included in:
- Minitest::Test
- Defined in:
- lib/flutter/minitest.rb
Defined Under Namespace
Modules: ClassMethods
Instance Method Summary collapse
Instance Method Details
#after_setup ⇒ Object
64 65 66 67 |
# File 'lib/flutter/minitest.rb', line 64 def after_setup super Minitest.flutter_tracker&.start(location) if ::Flutter.enabled end |
#before_teardown ⇒ Object
69 70 71 72 |
# File 'lib/flutter/minitest.rb', line 69 def before_teardown Minitest.flutter_tracker&.stop(location, failures.empty?) if ::Flutter.enabled super end |