testFactoryTemplate
fun <TestExecutableT : TestExecutable> testFactoryTemplate(setup: TestFactoryBuilder<TestExecutableT>.() -> Unit, testExecutableFactory: () -> TestExecutableT): PlatformTestNodeContainer<PlatformTestNode>(source)
Template method intended for providers of expectation verbs.
See sample for how to use it.
Return
The platform specific test nodes.
Since
1.3.0
Samples
ch.tutteli.atrium.testfactories.samples.TestFactorySample.testFactoryTemplatefun <TestExecutableT : TestExecutable> testFactoryTemplate(setup: TestFactoryBuilder<TestExecutableT>.() -> Unit, otherSetups: Array<out TestFactoryBuilder<TestExecutableT>.() -> Unit>, testExecutableFactory: () -> TestExecutableT): PlatformTestNodeContainer<PlatformTestNode>(source)
Template method intended for providers of expectation verbs.
See sample for how to use it.
Return
The platform specific test nodes.
Since
1.3.0
Samples
ch.tutteli.atrium.testfactories.samples.TestFactorySample.testFactoryTemplateVaragfun <TestExecutableT : TestExecutable> testFactoryTemplate(setups: List<TestFactoryBuilder<TestExecutableT>.() -> Unit>, testExecutableFactory: () -> TestExecutableT): PlatformTestNodeContainer<PlatformTestNode>(source)
Template method intended for providers of expectation verbs.
See sample for how to use it.
Return
The platform specific test nodes.
Since
1.3.0