doc / ch.tutteli.atrium.reporting / reporter

reporter

val reporter: <ERROR CLASS> (source)

The access point to an implementation of Reporter.

It loads implementations of ReporterFactory lazily via ServiceLoader and searches for the id specified via the system property with key ReporterFactory.SYSTEM_PROPERTY (which is ch.tutteli.atrium.reporting.reporterFactory) or uses default in case the system property is not specified.

Use ReporterFactory.specifyFactory or ReporterFactory.specifyFactoryIfNotYetSet to define the system property.

Notice, that searching for a ReporterFactory is only done once and the result is cached afterwards. Please open an issue if you want to change reporter during a test-run.

Getter

The access point to an implementation of Reporter.

It loads implementations of ReporterFactory lazily via ServiceLoader and searches for the id specified via the system property with key ReporterFactory.SYSTEM_PROPERTY (which is ch.tutteli.atrium.reporting.reporterFactory) or uses default in case the system property is not specified.

Use ReporterFactory.specifyFactory or ReporterFactory.specifyFactoryIfNotYetSet to define the system property.

Notice, that searching for a ReporterFactory is only done once and the result is cached afterwards. Please open an issue if you want to change reporter during a test-run.