Module: Knapsack::Adapters::MinitestAdapter::BindTimeTrackerMinitestPlugin

Defined in:
lib/knapsack/adapters/minitest_adapter.rb

Overview

Instance Method Summary collapse

Instance Method Details

#after_teardownObject



17
18
19
20
# File 'lib/knapsack/adapters/minitest_adapter.rb', line 17

def after_teardown
  Knapsack.tracker.stop_timer
  super
end

#before_setupObject



11
12
13
14
15
# File 'lib/knapsack/adapters/minitest_adapter.rb', line 11

def before_setup
  super
  Knapsack.tracker.test_path = MinitestAdapter.test_path(self)
  Knapsack.tracker.start_timer
end