https://kotlinlang.org logo
Title
b

bum

01/20/2020, 6:14 PM
Hi, think its a stupid question but do we need to install
kotlin.test
from somewhere else? For what I understood the references says
kotlin.test
is a core library (https://kotlinlang.org/api/latest/kotlin.test/index.html) but when I try to use
@Test
annotation, Intellij tells me it is not defined What should I do to use kotlin.test library? Thanks in advance.
d

Dico

01/20/2020, 6:35 PM
Add
kotlin("test-junit")
dependency assuming you're on JVM platform.