Class: Liri::Agent::Runner
- Inherits:
-
Object
- Object
- Liri::Agent::Runner
- Defined in:
- lib/agent/runner.rb
Instance Method Summary collapse
-
#initialize(unit_test_class, source_code_folder_path) ⇒ Runner
constructor
A new instance of Runner.
- #run_tests(tests) ⇒ Object
Constructor Details
#initialize(unit_test_class, source_code_folder_path) ⇒ Runner
Returns a new instance of Runner.
8 9 10 |
# File 'lib/agent/runner.rb', line 8 def initialize(unit_test_class, source_code_folder_path) @unit_test = Object.const_get(unit_test_class).new(source_code_folder_path) end |
Instance Method Details
#run_tests(tests) ⇒ Object
12 13 14 |
# File 'lib/agent/runner.rb', line 12 def run_tests(tests) @unit_test.run_tests(tests) end |