kotlin.test

All Types

Native
1.3
kotlin.test.AfterClass

Marks a function to be executed after a suite. Not supported in Kotlin/Common.

Native
1.3
kotlin.test.AfterEach

Marks a function to be executed after a test.

Common
JUnit
JUnit5
TestNG
JS
Native
1.0
kotlin.test.AfterTest

Marks a function to be invoked after each test.

Common
JVM
JS
Native
1.0
kotlin.test.Asserter

Abstracts the logic for performing assertions. Specific implementations of Asserter can use JUnit or TestNG assertion facilities.

Common
JVM
JS
Native
1.0
kotlin.test.AsserterContributor

Checks applicability and provides Asserter instance

JS
1.1
kotlin.test.AssertionResult

Describes the result of an assertion execution.

Native
1.3
kotlin.test.BeforeClass

Marks a function to be executed before a suite. Not supported in Kotlin/Common.

Native
1.3
kotlin.test.BeforeEach

Marks a function to be executed before a test.

Common
JUnit
JUnit5
TestNG
JS
Native
1.0
kotlin.test.BeforeTest

Marks a function to be invoked before each test.

Common
JVM
JS
Native
1.0
kotlin.test.DefaultAsserter

Default Asserter implementation to avoid dependency on JUnit or TestNG.

JS
1.1
kotlin.test.FrameworkAdapter

Serves as a bridge to a testing framework.

Common
JUnit
JUnit5
TestNG
JS
Native
1.0
kotlin.test.Ignore

Marks a test or a suite as ignored.

JUnit5
1.0
kotlin.test.junit5.JUnit5Asserter

Implements kotlin.test assertions by delegating them to org.junit.jupiter.api.Assertions class.

JUnit5
1.0
kotlin.test.junit5.JUnit5Contributor

Provides JUnitAsserter if org.junit.Assert is found in the classpath.

JUnit
1.0
kotlin.test.junit.JUnitAsserter

Implements kotlin.test assertions by delegating them to org.junit.Assert class.

JUnit
1.0
kotlin.test.junit.JUnitContributor

Provides JUnitAsserter if org.junit.Assert is found in the classpath.

Common
JUnit
JUnit5
TestNG
JS
Native
1.0
kotlin.test.Test

Marks a function as a test.

TestNG
1.0
kotlin.test.testng.TestNGAsserter

Implements kotlin.test assertions by delegating them to org.testng.Assert class.

TestNG
1.0
kotlin.test.testng.TestNGContributor

Provides TestNGAsserter if org.testng.Assert is found in the classpath.