Class: TestQueue::TestFramework::MiniTest
- Inherits:
-
TestQueue::TestFramework
- Object
- TestQueue::TestFramework
- TestQueue::TestFramework::MiniTest
- Defined in:
- lib/test_queue/runner/minitest5.rb,
lib/test_queue/runner/minitest4.rb
Instance Method Summary collapse
Instance Method Details
#all_suite_files ⇒ Object
74 75 76 |
# File 'lib/test_queue/runner/minitest5.rb', line 74 def all_suite_files ARGV end |
#suites_from_file(path) ⇒ Object
78 79 80 81 82 83 84 |
# File 'lib/test_queue/runner/minitest5.rb', line 78 def suites_from_file(path) ::MiniTest::Test.reset require File.absolute_path(path) ::MiniTest::Test.runnables .reject { |s| s.runnable_methods.empty? } .map { |s| [s.name, s] } end |