doc / ch.tutteli.atrium.reporting / ReporterFactory / specifyFactory

specifyFactory

fun specifyFactory(reporterFactoryId: String): Unit (source)
Deprecated: A Reporter should now be be retrieved via ComponentFactoryContainer where the different components of a reporter should also be defined via ComponentFactoryContainer. ReporterFactory will be removed with 0.17.0

Sets Atrium's property with key ATRIUM_PROPERTY_KEY (which is ch.tutteli.atrium.reporting.reporterFactory) to the given reporterFactoryId regardless if another id was specified before.

Use specifyFactoryIfNotYetSet if you only want to set a default value but not overwrite an existing specification.