Class: TestThat::TestRunner::Selected
- Inherits:
-
TestRunner
- Object
- TestRunner
- TestThat::TestRunner::Selected
- Defined in:
- lib/test_that/test_runner.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#tests_to_run ⇒ Object
readonly
Returns the value of attribute tests_to_run.
Instance Method Summary collapse
-
#initialize(tester, tests_to_run) ⇒ Selected
constructor
A new instance of Selected.
- #test ⇒ Object
Constructor Details
#initialize(tester, tests_to_run) ⇒ Selected
Returns a new instance of Selected.
14 15 16 17 |
# File 'lib/test_that/test_runner.rb', line 14 def initialize(tester, tests_to_run) super(tester) @tests_to_run = tests_to_run end |
Instance Attribute Details
#tests_to_run ⇒ Object (readonly)
Returns the value of attribute tests_to_run.
12 13 14 |
# File 'lib/test_that/test_runner.rb', line 12 def tests_to_run @tests_to_run end |
Instance Method Details
#test ⇒ Object
19 20 21 |
# File 'lib/test_that/test_runner.rb', line 19 def test system(tester.test_files_command(tests_to_run)) end |