class Specifier::Runner

Handles load and execution of specs.

Usage:

runner = Specifier::Runner.new(paths: "./spec")
runner.run

Public Class Methods

new(paths:) click to toggle source
# File lib/specifier/runner.rb, line 11
def initialize(paths:)
  @paths = paths
end

Public Instance Methods

run() click to toggle source
# File lib/specifier/runner.rb, line 15
def run
  @paths.each do |path|
    load path
  end

  Specifier.run
  Specifier.formatter.summarize
end