Module: TestLauncher::Frameworks::Minitest

Defined in:
lib/test_launcher/frameworks/minitest.rb

Defined Under Namespace

Classes: Runner, Searcher, TestCase

Class Method Summary collapse

Class Method Details

.active?(searcher) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
# File 'lib/test_launcher/frameworks/minitest.rb', line 8

def self.active?(searcher)
  searcher.ls_files("*_test.rb").any?
end

.runner(*a, **o) ⇒ Object



20
21
22
# File 'lib/test_launcher/frameworks/minitest.rb', line 20

def self.runner(*a, **o)
  Runner.new(*a, **o)
end

.searcher(*a, **o) ⇒ Object



16
17
18
# File 'lib/test_launcher/frameworks/minitest.rb', line 16

def self.searcher(*a, **o)
  Searcher.new(*a, **o)
end

.test_case(*a, **o) ⇒ Object



12
13
14
# File 'lib/test_launcher/frameworks/minitest.rb', line 12

def self.test_case(*a, **o)
  TestCase.new(*a, **o)
end