Instance Propertyswift-testing 6.0.2Testing
tagColors
The colors to use for tags in the output.
Event.ConsoleOutputRecorder.swift:86This declaration is gated by at least one @_spi attribute.
var tagColors: [Tag : Tag.Color] { get set }
Tags on tests that have assigned colors in this dictionary are presented as colored dots prior to the tests’ names. The tags red
, orange
, yellow
, green
, blue
, and purple
always have assigned colors and those colors cannot be overridden when setting the value of this property.
The value of this property is ignored unless the value of useANSIEscapeCodes
is true
and the value of ansiColorBitDepth
is greater than 1
.
Other members in extension
Type members
Show system interfaces (1)
Hide system interfaces
Instance members
Show system interfaces (3)
Hide system interfaces
var ansiColorBitDepth: Int8
The supported color bit depth when adding color to the output using ANSI escape codes.
var useANSIEscapeCodes: Bool
Use ANSI escape codes to add color and other effects to the output.
var verbosity: Int
The level of verbosity of the output.