Module: Minitest::Stately
- Defined in:
- lib/minitest/stately_plugin.rb,
lib/minitest/stately/version.rb,
lib/minitest/stately/watcher.rb,
lib/minitest/stately/reporter.rb,
lib/minitest/stately/after_teardown.rb
Defined Under Namespace
Modules: AfterTeardown
Classes: Reporter, Watcher
Constant Summary
collapse
- VERSION =
"0.3.0"
Class Method Summary
collapse
Class Method Details
.fail_if(name, &blk) ⇒ Object
21
22
23
|
# File 'lib/minitest/stately_plugin.rb', line 21
def self.fail_if(name, &blk)
@watcher.fail_if(name, &blk)
end
|
.run(&blk) ⇒ Object
17
18
19
|
# File 'lib/minitest/stately_plugin.rb', line 17
def self.run(&blk)
@watcher.run(&blk)
end
|
.watch(name, &blk) ⇒ Object
13
14
15
|
# File 'lib/minitest/stately_plugin.rb', line 13
def self.watch(name, &blk)
@watcher.watch(name, &blk)
end
|
.watcher ⇒ Object
9
10
11
|
# File 'lib/minitest/stately_plugin.rb', line 9
def self.watcher
@watcher
end
|