Skip to content

runAffectedUnitTests still runs all tests! #63

@xmlking

Description

@xmlking
git status     
On branch develop
Your branch is up to date with 'origin/develop'.

nothing to commit, working tree clean

my configuration

affectedModuleDetector {
    baseDir = "${project.rootDir}"
    pathsAffectingAllModules = setOf("gradle/libs.versions.toml")
    logFilename = "output.log"
    logFolder = "${rootProject.buildDir}/affectedModuleDetector"
    specifiedBranch = "develop"
    compareFrom = "SpecifiedBranchCommit" // default is PreviousCommit
}

./gradlew runAffectedUnitTests -Paffected_module_detector.enable

runs all tests
I am using org.gradle.parallel=true. is this a problem?

How to reproduce: please clone repo: https://github.com/xmlking/micro-apps and run above command.

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