Module: TinyTest::Unit
- Defined in:
- lib/tinytest/unit.rb
Class Method Summary collapse
-
.autorun ⇒ Object
Add hook which allocate TinyTest::Runner with parsed ARGV and execute Runner#run at exit (Only wehn firstly called).
-
.autorun? ⇒ Boolean
Already set #autorun or not.
Class Method Details
.autorun ⇒ Object
Add hook which allocate TinyTest::Runner with parsed ARGV and execute Runner#run at exit (Only wehn firstly called).
14 15 16 |
# File 'lib/tinytest/unit.rb', line 14 def self.autorun @autorunner ||= autorunner() end |
.autorun? ⇒ Boolean
Already set #autorun or not.
19 20 21 |
# File 'lib/tinytest/unit.rb', line 19 def self.autorun? @autorunner ? true : false end |