All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.zegreatrob.testmints.StandardMints.kt Maven / Gradle / Ivy

package com.zegreatrob.testmints

import com.zegreatrob.testmints.report.MintReporterConfig
import com.zegreatrob.testmints.report.ReporterProvider
import kotlin.jvm.JvmName

object StandardMints : StandardMintDispatcher, ReporterProvider by MintReporterConfig

val setup get() = StandardMints.setup

fun  testTemplate(sharedSetup: () -> SC, sharedTeardown: (SC) -> Unit = {}) =
    StandardMints.testTemplate(sharedSetup, sharedTeardown)

fun  testTemplate(beforeAll: () -> SC) = StandardMints.testTemplate(beforeAll = beforeAll)

fun testTemplate(sharedSetup: () -> Unit, sharedTeardown: () -> Unit) =
    StandardMints.testTemplate(sharedSetup, { sharedTeardown() })

@JvmName("testTemplateSimple")
fun testTemplate(wrapper: SimpleWrapper) = StandardMints.testTemplateSimple(wrapper)

@JvmName("testTemplateSC")
fun  testTemplate(wrapper: Wrapper) = StandardMints.testTemplate(wrapper)

typealias SimpleWrapper = (() -> Unit) -> Unit




© 2015 - 2024 Weber Informatics LLC | Privacy Policy