module TestRunner

Public Class Methods

included(target) click to toggle source
# File lib/test_runner.rb, line 35
def self.included target
  Assert::Syntax.infect target
end

Public Instance Methods

logger() click to toggle source

TestRunner can be included in scripts as a mixin, e.g.

require “test_runner” include TestRunner

logger.info “hi” assert true

You can also require “test_runner/script” to automatically include TestRunner

# File lib/test_runner.rb, line 22
def logger
  Config.logger
end