doc / ch.tutteli.atrium.reporting / reporter

reporter

val reporter: Reporter (source)
Deprecated: A Reporter should now be be retrieved via ComponentFactoryContainer where the different components of a reporter should also be defined via ComponentFactoryContainer. This property will be removed with 0.17.0

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.