doc / ch.tutteli.atrium / AtriumFactory / newReportingPlant

newReportingPlant

fun <T : Any> newReportingPlant(commonFields: CommonFields<T>): ReportingAssertionPlant<T>

Overrides IAtriumFactory.newReportingPlant

Creates a ReportingAssertionPlant which checks and reports added Assertions.

It uses the AssertionPlantWithCommonFields.CommonFields.assertionChecker of the given commonFields for assertion checking.

Parameters

commonFields - The commonFields for the new assertion plant.

Return
The newly created assertion plant.