Module: TestLauncher::Frameworks::Mochajs
- Defined in:
- lib/test_launcher/frameworks/mochajs.rb
Defined Under Namespace
Classes: Runner, Searcher, TestCase
Class Method Summary
collapse
Class Method Details
.active? ⇒ Boolean
8
9
10
|
# File 'lib/test_launcher/frameworks/mochajs.rb', line 8
def self.active?
`git ls-files '*pec.js'`.split("\n").any?
end
|
.runner(*a) ⇒ Object
20
21
22
|
# File 'lib/test_launcher/frameworks/mochajs.rb', line 20
def self.runner(*a)
Runner.new(*a)
end
|
.searcher(*a) ⇒ Object
16
17
18
|
# File 'lib/test_launcher/frameworks/mochajs.rb', line 16
def self.searcher(*a)
Searcher.new(*a)
end
|
.test_case(*a) ⇒ Object
12
13
14
|
# File 'lib/test_launcher/frameworks/mochajs.rb', line 12
def self.test_case(*a)
TestCase.new(*a)
end
|