trial.reporters.writer

A module containing utilities for presenting information to the user

Members

Classes

BufferedWriter
class BufferedWriter

You can use this writer if you don't want to keep the data in memmory It's useful for unit testing. It supports line navigation, with no color The context info might be added in the future, once a good format is found.

ColorConsoleWriter
class ColorConsoleWriter

This writer uses arsd.terminal and it's used if you add this dependency to your project It supports all the features and you should use it if you want to get the best experience from this project

ConsoleWriter
class ConsoleWriter

The console writer outputs data to the standard output. It does not support colors and cursor moving. This is the default writer if arsd.terminal is not present.

Interfaces

ReportWriter
interface ReportWriter

The writer interface is used to present information to the user.

Variables

defaultWriter
ReportWriter defaultWriter;

The default writer is initialized at the test run initialization with the right class, depending on the hosts capabilities.

Meta

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.

Authors

Szabo Bogdan