Skip to content

"No test executed. This behavior has been deprecated" on latest gradle. #37

@tribbloid

Description

@tribbloid

Test definition (kts):

(all variables will be automatically resolved to the correct versions)


    dependencies {

        val jUnitV = "4.13.2"

        testImplementation("junit:junit:${jUnitV}")
    }


    dependencies {

        testFixturesApi("org.scalatest:scalatest_${vs.scala.artifactSuffix}:${vs.scalaTestV}")
        testRuntimeOnly("junit:junit:4.13.2")
        testRuntimeOnly("org.scalatestplus:junit-4-13_${vs.scala.artifactSuffix}:3.2.18.0")
    }


        test {

            minHeapSize = "1024m"
            maxHeapSize = "4096m"

            useJUnit()
    }

when executing gradle test, no test was discovered, it failed smoothly

this project also lack an example project like its JUnit 5 counterpart, making it hard to verify version compatibility

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions