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

specifyFactoryIfNotYetSet

fun specifyFactoryIfNotYetSet(reporterFactoryId: String): Unit (source)

Sets the system property with key SYSTEM_PROPERTY (which is ch.tutteli.atrium.reporting.reporterFactory) to the given reporterFactoryId if another id was not yet specified before.

Use specifyFactory if you do not care if another id was specified before or in other words, if you want to overwrite a previously defined id.