Skip to content

Commit

Permalink
⬆️ Upgrade Kotest version to 5.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoColman committed Sep 28, 2023
1 parent 5c420e2 commit d827160
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build.gradle.kts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
plugins {
kotlin("jvm") version "1.8.20" apply false
kotlin("android") version "1.8.20" apply false
id("com.android.application") version "7.3.1" apply false
id("com.android.application") version "7.4.2" apply false
}
2 changes: 1 addition & 1 deletion kotest-assertions-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ configurations {

dependencies {
implementation("androidx.core:core-ktx:1.10.0")
implementation("io.kotest:kotest-assertions-core:5.5.5")
implementation("io.kotest:kotest-assertions-core:5.7.2")

androidTestImplementation(project(":kotest-runner-android"))
androidTestImplementation("androidx.test:runner:1.5.2")
Expand Down
4 changes: 2 additions & 2 deletions kotest-runner-android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ plugins {

dependencies {
api("junit:junit:4.13.2")
api("io.kotest:kotest-framework-engine:5.5.5")
api("io.kotest:kotest-framework-discovery:5.5.5")
api("io.kotest:kotest-framework-engine:5.7.2")
api("io.kotest:kotest-framework-discovery:5.7.2")
}

val sourcesJar by tasks.registering(Jar::class) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ android {
exclude("win32-x86/**")
exclude("win32-x86-64/**")
}

compileOptions {
sourceCompatibility = JavaVersion.VERSION_11
targetCompatibility = JavaVersion.VERSION_11
}
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import androidx.test.platform.app.InstrumentationRegistry
import io.kotest.matchers.shouldBe
import org.junit.runner.RunWith

//@RunWith(KotestRunnerAndroid::class)
@RunWith(KotestRunnerAndroid::class)
class ExampleInstrumentedAndroidTestPass : FunSpec({

test("Use app context") {
Expand Down

0 comments on commit d827160

Please sign in to comment.