kotest-common-enums

Common Kotest factory utilities for androidx-ktx-extras' modules.

Usage

Kotest Common Enums on Maven Central

Kotest Common Enums is available on Maven Central as the Maven coordinate io.github.edricchan03.androidx.common:kotest-common-enums:

settings.gradle.kts

dependencyResolutionManagement {
// ...
repositories {
mavenCentral()
}
}

Kotlin/Groovy

build.gradle.kts

implementation("io.github.edricchan03.androidx.common:kotest-common-enums:0.1.0")

TOML

gradle/libs.versions.toml:

[libraries]
androidxtra-common-enums-kotest = "io.github.edricchan03.androidx.common:kotest-common-enums:0.1.0"

build.gradle.kts:

implementation(libs.androidxtra.common.enums.kotest)

Snapshots

Kotest Common Enums on Maven Central (snapshot)

Alternatively, you can grab the latest built snapshot from Maven Central's snapshots repository:

settings.gradle.kts

dependencyResolutionManagement {
// ...
repositories {
maven("https://s01.oss.sonatype.org/content/repositories/snapshots/") {
// Optionally, you can specify that only snapshots are to be used
mavenContent {
snapshotsOnly()
}
}
}
}

Kotlin

build.gradle.kts:

implementation("io.github.edricchan03.androidx.common:kotest-common-enums:0.1.1-SNAPSHOT")

TOML

gradle/libs.versions.toml:

[libaries]
androidxtra-common-enums-kotest = "io.github.edricchan03.androidx.common:kotest-common-enums:0.1.1-SNAPSHOT"

build.gradle.kts:

implementation(libs.androidxtra.common.enums.kotest)

Packages

Kotest property functions for testing enums that represent an internal value. An example is as shown below: