doc / ch.tutteli.atrium / AtriumFactory / newReportingPlant

newReportingPlant

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

Overrides IAtriumFactory.newReportingPlant

Creates an IReportingAssertionPlant which checks and reports added IAssertions.

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

Parameters

commonFields - The commonFields for the new assertion plant.

Return
The newly created assertion plant.