Package net.serenitybdd.junit5
Class DynamicTestsOutcomeAggregator
java.lang.Object
net.serenitybdd.junit5.DynamicTestsOutcomeAggregator
Aggregates test outcomes from JUnit 5 @TestFactory dynamic tests into a single report
per factory method. Similar to how parameterized tests are aggregated.
-
Constructor Summary
ConstructorsConstructorDescriptionDynamicTestsOutcomeAggregator(List<net.thucydides.model.domain.TestOutcome> testOutcomes) -
Method Summary
Modifier and TypeMethodDescriptionList<net.thucydides.model.domain.TestOutcome>Aggregates dynamic test outcomes by their parent TestFactory method.
-
Constructor Details
-
DynamicTestsOutcomeAggregator
-
-
Method Details
-
aggregateTestOutcomesByTestFactory
Aggregates dynamic test outcomes by their parent TestFactory method. Each dynamic test becomes a nested step within the aggregated outcome.- Returns:
- A list of aggregated test outcomes, one per TestFactory method
-