Class: Zeus::M::Runner

Inherits:
Object
  • Object
show all
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

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

#runObject

There’s two steps to running our tests:

  1. Parsing the given input for the tests we need to find (or groups of tests)

  2. 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