Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

runAffectedUnitTests still runs all tests! #63

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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