module Microtest

Included Modules

Defined in:

microtest.cr
microtest/backtrace_printer.cr
microtest/exceptions.cr
microtest/execution_context.cr
microtest/formatter.cr
microtest/power_assert.cr
microtest/reporter.cr
microtest/runner.cr
microtest/test.cr
microtest/test_result.cr
microtest/version.cr

Constant Summary

CRYSTAL_DIR = File.expand_path({{ (Crystal::PATH.split(":")).first }})
STRACKTRACE_LINE_REGEX = /\A(.+):(\d+):(\d+) in \'(\S+)\'\z/
VERSION = {{ (`shards version /srv/crystaldoc.info/github-Ragmaanir-microtest-v1.2.2/src/microtest`).strip.stringify }}

Class Method Summary

Class Method Detail

def self.power_assert_formatter #

[View source]
def self.run(reporters : Array(Reporter) = [ProgressReporter.new, ErrorListReporter.new, SlowTestsReporter.new, SummaryReporter.new] of Reporter, random_seed : UInt32 = (ENV.fetch("SEED", Random.new.next_u.to_s)).to_u32) #

[View source]
def self.run!(*args) #

[View source]