class Microtest::BacktracePrinter

Defined in:

microtest/backtrace_printer.cr

Constant Summary

BACKTRACE_KIND_COLORS = {:app => LIGHT_MAGENTA, :spec => LIGHT_MAGENTA, :eval => DARK_GRAY, :crystal => DARK_GRAY, :lib => MAGENTA, :unknown => CYAN}

Class Method Summary

Instance Method Summary

Class Method Detail

def self.classify_path(path : String) : Symbol #

[View source]
def self.simplify_path(path : String) #

[View source]

Instance Method Detail

def call(backtrace : Array(String), highlight : String | Nil = nil, colorize : Bool = true) : String #

[View source]
def simplify(backtrace : Array(String)) : Array(Entry) #

[View source]