Class: KnapsackPro::Adapters::SpinachAdapter
Constant Summary
collapse
- TEST_DIR_PATTERN =
'features/**{,/*/**}/*.feature'
Class Method Summary
collapse
Instance Method Summary
collapse
Methods inherited from BaseAdapter
adapter_bind_method_called_file, bind, #bind, #bind_after_queue_hook, #bind_before_queue_hook, #bind_queue_mode, calculate_slow_id_paths, split_by_test_cases_enabled?, verify_bind_method_called
Class Method Details
.test_path(scenario) ⇒ Object
8
9
10
|
# File 'lib/knapsack_pro/adapters/spinach_adapter.rb', line 8
def self.test_path(scenario)
scenario.feature.filename
end
|
Instance Method Details
#bind_save_report(latest_error = nil) ⇒ Object
27
28
29
30
31
|
# File 'lib/knapsack_pro/adapters/spinach_adapter.rb', line 27
def bind_save_report(latest_error = nil)
::Spinach.hooks.after_run do
KnapsackPro::Report.save
end
end
|
#bind_time_tracker ⇒ Object