doc / ch.tutteli.atrium.reporting / reporter

reporter

val reporter: Reporter

The access point to an implementation of Reporter.

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

Use ReporterFactory.specifyFactory or ReporterFactory.specifyFactoryIfNotYetSet to define another value for the 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 able to change the Reporter during a test-run.

Getter

The access point to an implementation of Reporter.

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

Use ReporterFactory.specifyFactory or ReporterFactory.specifyFactoryIfNotYetSet to define another value for the 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 able to change the Reporter during a test-run.