Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Microtest::BacktracePrinter
Inherits
Reference
/
Object
Constants
BACKTRACE_KIND_COLORS = {:app =>
LIGHT_MAGENTA
, :spec =>
LIGHT_MAGENTA
, :eval =>
DARK_GRAY
, :crystal =>
DARK_GRAY
, :lib =>
MAGENTA
, :unknown =>
CYAN
}
Class methods
classify_path
(path :
String
) :
Symbol
Source
simplify_path
(path :
String
)
Source
Instance methods
call
(backtrace :
Array
(
String
), highlight :
String
|
Nil
= nil, colorize :
Bool
= true) :
String
Source
simplify
(backtrace :
Array
(
String
)) :
Array
(
Entry
)
Source
Nested types
Microtest::BacktracePrinter::Entry