Kotest

Kotest

Language
Kotlin
Category
7
Version
5.4.0
Authors
Unknown
Description
Kotest is a flexible and elegant multi-platform test framework for Kotlin with extensive assertions and integrated property testing.
Install Instructions
  • The Kotest test framework is supported on JVM, Javascript and Native.
  • Using plugins DSL:
plugins {
id("io.kotest.multiplatform") version "5.4.0"
}
Usage
  • Write simple and beautiful tests using one of the available styles:
class MyTests : StringSpec({
"length should return size of string" {
"hello".length shouldBe 5
}
"startsWith should test for a prefix" {
"world" should startWith("wor")
}
})
Links