commonMain.com.bkahlert.kommons.test.test.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kommons-test Show documentation
Show all versions of kommons-test Show documentation
Kommons Test is a Kotlin Multiplatform Library to ease testing.
package com.bkahlert.kommons.test
import io.kotest.assertions.assertSoftly
/** Asserts the specified [softAssertions]. */
public inline fun test(softAssertions: () -> R) {
assertSoftly(softAssertions)
}
@Deprecated("use test", replaceWith = ReplaceWith("test(softAssertions)", "com.bkahlert.kommons.test.test"))
/** Asserts the specified [softAssertions]. */
public inline fun tests(softAssertions: () -> R) {
assertSoftly(softAssertions)
}