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]