Module: Knapsack::Adapters::MinitestAdapter::BindTimeTrackerMinitestPlugin
- Defined in:
- lib/knapsack/adapters/minitest_adapter.rb
Overview
See how to write hooks and plugins github.com/seattlerb/minitest/blob/master/lib/minitest/test.rb
Instance Method Summary collapse
Instance Method Details
#after_teardown ⇒ Object
17 18 19 20 |
# File 'lib/knapsack/adapters/minitest_adapter.rb', line 17 def after_teardown Knapsack.tracker.stop_timer super end |
#before_setup ⇒ Object
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 |