Class DatasetRunExtension.DatasetItemRecorder

java.lang.Object
dev.dokimos.junit.DatasetRunExtension.DatasetItemRecorder
Enclosing class:
DatasetRunExtension

public static final class DatasetRunExtension.DatasetItemRecorder extends Object
Collects the actual outputs and evaluation results a DatasetSource test body produced for one parameterized invocation. Declare it as a test-method parameter and populate it; the extension then reports an ItemResult carrying these values instead of an empty one.

A fresh recorder is supplied per invocation, so it need not be reset between examples.