Class: TestQueue::TestFramework::Example
- Inherits:
-
TestQueue::TestFramework
- Object
- TestQueue::TestFramework
- TestQueue::TestFramework::Example
- Defined in:
- lib/test_queue/runner/example.rb
Constant Summary
Constants inherited from TestQueue::TestFramework
Instance Method Summary collapse
- #all_suite_files ⇒ Object
-
#initialize(args) ⇒ Example
constructor
A new instance of Example.
- #suites_from_file(_path) ⇒ Object
Constructor Details
#initialize(args) ⇒ Example
Returns a new instance of Example.
39 40 41 42 43 |
# File 'lib/test_queue/runner/example.rb', line 39 def initialize(args) super() @args = args.map(&:to_s) end |
Instance Method Details
#all_suite_files ⇒ Object
45 46 47 |
# File 'lib/test_queue/runner/example.rb', line 45 def all_suite_files @args end |
#suites_from_file(_path) ⇒ Object
49 50 51 |
# File 'lib/test_queue/runner/example.rb', line 49 def suites_from_file(_path) @args.map { |i| [i, i] } end |