Class: Zeus::M::Runner
- Inherits:
-
Object
- Object
- Zeus::M::Runner
- Defined in:
- lib/zeus/m.rb
Overview
Runner is in charge of running your tests. Instead of slamming all of this junk in an ‘M` class, it’s here instead.
Instance Method Summary collapse
-
#initialize(argv) ⇒ Runner
constructor
A new instance of Runner.
-
#run ⇒ Object
There’s two steps to running our tests: 1.
Constructor Details
#initialize(argv) ⇒ Runner
Returns a new instance of Runner.
112 113 114 |
# File 'lib/zeus/m.rb', line 112 def initialize(argv) @argv = argv end |
Instance Method Details
#run ⇒ Object
There’s two steps to running our tests:
-
Parsing the given input for the tests we need to find (or groups of tests)
-
Run those tests we found that match what you wanted
119 120 121 122 |
# File 'lib/zeus/m.rb', line 119 def run parse execute end |