refactor: Migrate to JUnit 5

This commit is contained in:
Ahmad Ansori Palembani 2024-05-24 07:46:20 +07:00
parent 8898d50539
commit b28f905d10
Signed by: null2264
GPG key ID: BA64F8B60AF3EFB6
3 changed files with 10 additions and 8 deletions

View file

@ -6,6 +6,7 @@ fast_adapter = "5.6.0"
nucleus = "3.0.0"
okhttp = "5.0.0-alpha.11"
shizuku = "12.1.0"
junit = "5.8.2"
[libraries]
accompanist-webview = { module = "com.google.accompanist:accompanist-webview", version = "0.30.1" }
@ -69,7 +70,8 @@ firebase-crashlytics = { module = "com.google.firebase:firebase-crashlytics-ktx"
unifile = { module = "com.github.tachiyomiorg:unifile", version = "17bec43" }
viewstatepageradapter = { module = "com.nightlynexus.viewstatepageradapter:viewstatepageradapter", version = "1.1.0" }
viewtooltip = { module = "com.github.florent37:viewtooltip", version = "1.2.2" }
junit = { module = "junit:junit", version = "4.13.2" }
junit-engine = { module = "org.junit.jupiter:junit-jupiter-engine", version.ref = "junit" }
junit-api = { module = "org.junit.jupiter:junit-jupiter-api", version.ref = "junit" }
junit-android = { module = "androidx.test.ext:junit", version = "1.1.5" }
mockk = { module = "io.mockk:mockk", version = "1.13.11" }
@ -79,4 +81,4 @@ gradle-versions = { id = "com.github.ben-manes.versions", version = "0.42.0" }
[bundles]
coil = [ "coil3", "coil3-svg", "coil3-gif", "coil3-okhttp" ]
test = [ "junit", "mockk" ]
test = [ "junit-api", "junit-engine", "mockk" ]