Use this skill to write tests with the kotlin.test library — the multiplatform assertion + annotation API that compiles the same in commonTest and on the JVM (JUnit4 or JUnit5), Android, JS, Native, and Wasm. Covers the kotlin.test annotations (@Test, @Ignore, @BeforeTest, @AfterTest) and how they typealias onto the underlying framework; the assert functions (assertEquals/assertNotEquals, assertSame, assertNull/assertNotNull, assertIs/assertIsNot, assertContentEquals, assertContains, assertTrue/assertFalse, fail, expect, assertFails, assertFailsWith); the @OnlyInputTypes compile-time type check; the Asserter/AsserterContributor/DefaultAsserter extension point that routes JVM failures to org.junit.Assert for clickable diffs; and the kotlin("test") capability that auto-selects JUnit4 vs JUnit5. Use when the user mentions kotlin.test, import kotlin.test., @BeforeTest, assertFailsWith, assertContentEquals, assertIs, or kotlin("test").
Install with
Claude CodeCodexCursorGitHub CopilotGemini CLI
Supported by the Atlas install prompt. Skill-specific requirements vary.
Skill stats
Skills1CategoryEngineeringStars0
About this skill
Use this skill to write tests with the kotlin.test library — the multiplatform assertion + annotation API that compiles the same in commonTest and on the JVM (JUnit4 or JUnit5), Android, JS, Native, and Wasm. Covers the kotlin.test annotations (@Test, @Ignore, @BeforeTest, @AfterTest) and how they typealias onto the underlying framework; the assert functions (assertEquals/assertNotEquals, assertSame, assertNull/assertNotNull, assertIs/assertIsNot, assertContentEquals, assertContains, assertTrue/assertFalse, fail, expect, assertFails, assertFailsWith); the @OnlyInputTypes compile-time type check; the Asserter/AsserterContributor/DefaultAsserter extension point that routes JVM failures to org.junit.Assert for clickable diffs; and the kotlin("test") capability that auto-selects JUnit4 vs JUnit5. Use when the user mentions kotlin.test, import kotlin.test., @BeforeTest, assertFailsWith, assertContentEquals, assertIs, or kotlin("test").
Quick start
Copy the install prompt. Use the green button above this README.
Send it to your agent. Paste it into your coding agent’s chat and send.
Review the setup. Your agent checks the skill’s instructions, requirements, and installation scope.
Use this skill to write tests with the `kotlin.test` library — the multiplatform assertion + annotation API that compiles the same in `commonTest` and on the JVM (JUnit4 or JUnit5), Android, JS, Native, and Wasm. Covers the `kotlin.test` annotations (`@Test`, `@Ignore`, `@BeforeTest`, `@AfterTest`) and how they typealias onto the underlying framework; the `assert*` functions (`assertEquals`/`assertNotEquals`, `assertSame`, `assertNull`/`assertNotNull`, `assertIs`/`assertIsNot`, `assertContentEquals`, `assertContains`, `assertTrue`/`assertFalse`, `fail`, `expect`, `assertFails`, `assertFailsWith`); the `@OnlyInputTypes` compile-time type check; the `Asserter`/`AsserterContributor`/`DefaultAsserter` extension point that routes JVM failures to `org.junit.Assert` for clickable diffs; and the `kotlin("test")` capability that auto-selects JUnit4 vs JUnit5. Use when the user mentions `kotlin.test`, `import kotlin.test.*`, `@BeforeTest`, `assertFailsWith`, `assertContentEquals`, `assertIs`, or `kotlin("test")`.
About this listing
Category
Engineering
Reported license
Apache-2.0
Listing language (estimated)
English
Review status
Not individually reviewed
Agent compatibility
Atlas installation supports Claude Code, Codex, and Cursor. Skill-specific dependencies and features are checked during setup.