Module: TestLauncher::Frameworks::RSpec
- Defined in:
- lib/test_launcher/frameworks/rspec.rb
Defined Under Namespace
Classes: Runner, Searcher, TestCase
Class Method Summary
collapse
Class Method Details
.active?(searcher) ⇒ Boolean
8
9
10
|
# File 'lib/test_launcher/frameworks/rspec.rb', line 8
def self.active?(searcher)
searcher.ls_files("*_spec.rb").any?
end
|
.runner(*a, **o) ⇒ Object
20
21
22
|
# File 'lib/test_launcher/frameworks/rspec.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/rspec.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/rspec.rb', line 12
def self.test_case(*a, **o)
TestCase.new(*a, **o)
end
|