Quick testing tips #5


Use StringSpec to declare descriptive test cases




import io.kotest.core.spec.style.StringSpec

class SomeSpec : StringSpec({
  "it should pass"{

  }
})



Use StringSpec to declare test case in DSL - with that you can write descriptive test case name.



Read next:


Loading ...
Failed to load data.