Eric Haney
01/17/2024, 4:33 PMkotlin.test
library?
I read that it provides annotations independent of the testing framework used, but why import this over plain old JUnit?Casey Brooks
01/17/2024, 4:36 PMkotlin.test
is for multiplatform testing while JUnit is JVM-only, though there are other options for multiplatform test frameworks like #kotestEric Haney
01/17/2024, 4:36 PMStephan Schröder
01/18/2024, 9:24 AMassertNotNull
the variable will be smartcasted to not-null after the test.