kotest / kotest-gradle-plugin

A gradle plugin for Kotest
https://kotest.io
Apache License 2.0
30 stars 5 forks source link

kotest task not generated #19

Closed lukasz-kalnik-gcx closed 2 years ago

lukasz-kalnik-gcx commented 2 years ago

This is an Android project (uses the com.android.library plugin as well).

Gradle config:

Gradle version 7.2 Android Gradle Plugin version 7.1.1 Kotlin version 1.6.10

plugins {
    id("io.kotest") version "0.3.9"
}

dependencies {
    val kotestVersion = "5.1.0"
    testImplementation("io.kotest:kotest-framework-engine-jvm:$kotestVersion")
    testImplementation("io.kotest:kotest-assertions-core-jvm:$kotestVersion")
    testImplementation("io.kotest:kotest-property:$kotestVersion")
    testImplementation("io.kotest.extensions:kotest-extensions-koin:1.1.0")
}

Running ./gradlew tasks outputs under "Verification tasks":

Verification tasks
------------------
check - Runs all checks.
checkJetifier - Checks whether Jetifier is needed for the current project
connectedAndroidTest - Installs and runs instrumentation tests for all flavors on connected devices.
connectedCheck - Runs all device checks on currently connected devices.
connectedDevDebugAndroidTest - Installs and runs the tests for devDebug on connected devices.
deviceAndroidTest - Installs and runs instrumentation tests using all Device Providers.
deviceCheck - Runs all device checks using Device Providers and Test Servers.
lint - Runs lint on the default variant.
lintAnalyzeDevDebug - Run lint analysis on the devDebug variant
lintAnalyzePlayRelease - Run lint analysis on the playRelease variant
lintAnalyzeSnapshotRelease - Run lint analysis on the snapshotRelease variant
lintAnalyzeSprintRelease - Run lint analysis on the sprintRelease variant
lintDevDebug - Print text output from the corresponding lint report task
lintFix - Runs lint on the default variant and applies any safe suggestions to the source code.
lintFixDevDebug - Fix lint on the devDebug variant
lintFixPlayRelease - Fix lint on the playRelease variant
lintFixSnapshotRelease - Fix lint on the snapshotRelease variant
lintFixSprintRelease - Fix lint on the sprintRelease variant
lintPlayRelease - Print text output from the corresponding lint report task
lintReportDevDebug - Run lint on the devDebug variant
lintReportPlayRelease - Run lint on the playRelease variant
lintReportSnapshotRelease - Run lint on the snapshotRelease variant
lintReportSprintRelease - Run lint on the sprintRelease variant
lintSnapshotRelease - Print text output from the corresponding lint report task
lintSprintRelease - Print text output from the corresponding lint report task
test - Run unit tests for all variants.
testDevDebugUnitTest - Run unit tests for the devDebug build.
testPlayReleaseUnitTest - Run unit tests for the playRelease build.
testSnapshotReleaseUnitTest - Run unit tests for the snapshotRelease build.
testSprintReleaseUnitTest - Run unit tests for the sprintRelease build.

As you see we are using flavors like DevDebug, SnapshotRelease etc.

lukasz-kalnik-gcx commented 2 years ago

Please find a minimum reproducible project here: https://github.com/lukasz-kalnik-gcx/KotestAndroid

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.