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.
9 10 11 12 13 14 15 16 |
# File 'lib/tryouts/test_executor.rb', line 9 def initialize(file, testrun, , output_manager, translator, global_tally) @file = file @testrun = testrun @options = @output_manager = output_manager @translator = translator @global_tally = global_tally end |
Instance Method Details
#execute ⇒ Object
18 19 20 21 22 23 24 25 26 27 28 29 |
# File 'lib/tryouts/test_executor.rb', line 18 def execute @file_start = Time.now case @options[:framework] when :direct execute_direct_mode when :rspec execute_rspec_mode when :minitest execute_minitest_mode end end |