https://kotlinlang.org logo
Title
t

thanksforallthefish

03/16/2020, 7:32 AM
is it expected that
class SampleTest : ExpectSpec() {
  init {
    context("test") {
      expect("sum") {
        1 + 1 shouldBe 3
      }
      expect("sum right") {
        1 + 1 shouldBe 2
      }
    }
  }
}
expect("sum right')
is ignored? I am trying to better understand isolation modes, tests and leaves and was a bit surprised by this case, also because changing isolation mode does not affect the result. kotest 3.4.2
w

wasyl

03/16/2020, 9:33 AM
Just ran it locally at it seems to work. In IntelliJ the reporting is wrong, but both tests show up and are executed. That’s with KotlinTest 3.4.2 still
Standard question, did you enable JUnit platform? 🙂