Skip to content

Glossary: Kotlin Beyond the Basics

kotlin.test

Also written: @Test, @BeforeTest

Kotlin's test library. `@Test` marks a test function, and `@BeforeTest` marks setup that runs before each test.

Where the book teaches it

Related terms

JUnitassertEquals