/kotest-assertions

Primary LanguageKotlinApache License 2.0Apache-2.0

Kotest assertion artifacts for all platforms

  • This is a hard fork of ⏩ Kotest ⏪ assertions.
  • Single purpose - have assertions library prebuilt for all platforms.
  • Probably will never get updates. Use upstream Kotest 👌 if it supports all your required platforms.

Add to project

Adding custom gradle repository (Requires gradle >=6.6)

gradle.build.kts

repositories {
  exclusiveContent {
    forRepository {
      maven {
        url = uri("https://maven.pkg.github.com/audkar/kotest-assertions")
      }
    }
    filter {
      includeGroup("io.kotest.assertions")
    }
  }
}

Add dependency to test sourceSet

gradle.build.kts

implementation("io.kotest:kotest-assertions-core:4.2.6")