atrium-domain-builders-jvm / ch.tutteli.atrium.domain.builders.reporting.impl / DefaultReporterFactory

DefaultReporterFactory

class DefaultReporterFactory (source)

Represents the ReporterFactory with ReporterFactory.id default.

It is defined as follows (currently): reporterBuilder .withoutTranslationsUseDefaultLocale() .withDetailedObjectFormatter() .withDefaultAssertionFormatterController() .withDefaultAssertionFormatterFacade() .withTextSameLineAssertionPairFormatter() .withTextCapabilities() .withDefaultAtriumErrorAdjusters() .withOnlyFailureReporter() .build()

Constructors

<init>

DefaultReporterFactory()

Represents the ReporterFactory with ReporterFactory.id default.

Properties

id

val id: String

Functions

create

fun create(): <ERROR CLASS>

Extension Functions

asExpect

fun <T, A> A.asExpect(): <ERROR CLASS><T>
fun <T : Any, A> A.asExpect(assertionCreator: <ERROR CLASS><T>.() -> Unit): A

Turns Assert or AssertionPlantNullable into an Expect so that you can use new functionality which is not available on Assert/AssertionPlantNullable.