dunit.output.console

Module to handle output to the console.

License

MIT. See LICENSE for full details.

class Console;

Format output to the console.

void write(string line);

Write a line to the console.

Parameters

string line The line to write.

void write(string line, int indent);

Write an indented line to the console.

Parameters

string line The line to write.
int indent The space indent before the line.

void write(string prefix, string line);

Write a prefixed line to the console.

Parameters

string prefix The prefix of the line.
string line The line to write.

void write(string prefix, string line, int indent);

Write an intented, prefixed line to the console.

Parameters

string prefix The prefix of the line.
string line The line to write.
int indent The space indent before the line.

void writeHeader();

Write the header.

void writeReport(ModuleResultCollection results);

Output a detailed report.

Parameters

ModuleResultCollection results A module result collection.