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_setupObject



62
63
64
65
# File 'lib/flutter/minitest.rb', line 62

def after_setup
  super
  Minitest.flutter_tracker&.start(location) if ::Flutter.enabled
end

#before_teardownObject



67
68
69
70
# File 'lib/flutter/minitest.rb', line 67

def before_teardown
  Minitest.flutter_tracker&.stop(location, failures.empty?) if ::Flutter.enabled
  super
end