Ask me what skills you need
What are you building?
Tell me what you're working on and I'll find the best agent skills for you.
Kotlin testing with JUnit 5, Kotest, and coroutine dispatchers.
Use @Test for simple test cases. Prefer @DisplayName for readable test names.
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.DisplayName
import kotlin.test.assertEquals
import kotlin.test.assertFailsWith
class UserServiceTest {
@Test
@DisplayName("should return user by ID when user exists")
fun findUserById() {
val service = UserService(FakeUserRepository())
val user = service.findById(1L)
assertEquals("Alice", user.name)
}
@Test
fun `should throw when user not found`() {
val service = UserService(FakeUserRepository())
assertFailsWith<UserNotFoundException> {
service.findById(999L)
}
}
}
Use @ParameterizedTest with @MethodSource for complex inputs or @CsvSource for simple value pairs.
import org.junit.jupiter.params.ParameterizedTest
import org.junit.jupiter.params.provider.CsvSource
import org.junit.jupiter.params.provider.MethodSource
import org.junit.jupiter.params.provider.Arguments
import java.util.stream.Stream
class ValidatorTest {
@ParameterizedTest
npx skills add notque/vexjoy-agent --skill kotlin-testingHow clear and easy to understand the SKILL.md instructions are, rated from 1 to 5.
Mostly clear, but there are still a few confusing or poorly structured parts.
How directly an agent can act on the SKILL.md instructions, rated from 1 to 5.
Partially actionable with several concrete steps, but still missing important details.