True 4.0.0

@mixin _true-message() [private]

Output a message to CSS comments, or command line terminal (via debug/warn)

Parameters

$message: (String)

Message to output

$output: comments (String)

Type of output, either comments, terminal, debug or warn

Used By

@mixin assert()

@mixin output()

@mixin expect()

@mixin contains()

@mixin report()

@mixin _true-pass-details() [private]

@mixin _true-fail-details() [private]

@mixin _true-module-start() [private]

@mixin _true-module-stop() [private]

@mixin _true-test-start() [private]

@mixin _true-test-stop() [private]

@mixin _true-error() [private]

@function _true-report-message() [private]

Report results summary to CSS and (optionally) the command line

Parameters

$linebreak: false (bool)

Return single-line messages for results/stats, or optionally break into multi-line lists.

$results: $_true-results (map)

A map of run, pass, fail, and output-to-css results

$stats: $_true-stats (map)

A map of module, test, and assertion-counts in your project

Requires

@function _true-join-multiple() [private]

@function _true-results-message() [private]

@function _true-stats-message() [private]

Used By

@mixin report()

@function _true-results-message() [private]

Report message

Parameters & Return

$linebreak: false (Bool)

Return message either as a single line or in multiple lines

$results: $_true-results (Map)

A map of run, pass, fail, and output-to-css results

@return (String)

Single or multi-line message for reporting

Used By

@function _true-report-message() [private]

@function _true-stats-message() [private]

Stats message

Parameters & Return

$linebreak: false (Bool)

Return message either as a single line or in multiple lines

$stats: $_true-stats (Map)

Map that contains the stats counts for modules, tests, and assertions found

@return (String)

Stats count message

Used By

@function _true-report-message() [private]