kotest-core / io.kotest.core.factory / TestFactory / <init>

<init>

TestFactory(factoryId: TestFactoryId, tests: List<DynamicTest>, tags: Set<Tag>, assertionMode: AssertionMode?, listeners: List<TestListener>, extensions: List<Extension>, factories: List<TestFactory>)

A TestFactory is a generator of tests along with optional configuration and callbacks related to those tests. A test factory can be added to a Spec and the tests generated by the factory will be included in that spec.