Module: TestLauncher::Frameworks::ExUnit

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

Defined Under Namespace

Classes: Runner, Searcher, TestCase

Class Method Summary collapse

Class Method Details

.active?(searcher) ⇒ Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/test_launcher/frameworks/ex_unit.rb', line 7

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

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



19
20
21
# File 'lib/test_launcher/frameworks/ex_unit.rb', line 19

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

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



15
16
17
# File 'lib/test_launcher/frameworks/ex_unit.rb', line 15

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

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



11
12
13
# File 'lib/test_launcher/frameworks/ex_unit.rb', line 11

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