Class: Tryouts::TestExecutor
- Inherits:
-
Object
- Object
- Tryouts::TestExecutor
- Defined in:
- lib/tryouts/test_executor.rb
Instance Method Summary collapse
- #execute ⇒ Object
-
#initialize(file, testrun, options, output_manager, translator, global_tally) ⇒ TestExecutor
constructor
A new instance of TestExecutor.
Constructor Details
#initialize(file, testrun, options, output_manager, translator, global_tally) ⇒ TestExecutor
Returns a new instance of TestExecutor.
7 8 9 10 11 12 13 14 |
# File 'lib/tryouts/test_executor.rb', line 7 def initialize(file, testrun, , output_manager, translator, global_tally) @file = file @testrun = testrun = @output_manager = output_manager @translator = translator @global_tally = global_tally end |
Instance Method Details
#execute ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 |
# File 'lib/tryouts/test_executor.rb', line 16 def execute @file_start = Time.now case [:framework] when :direct execute_direct_mode when :rspec execute_rspec_mode when :minitest execute_minitest_mode end end |