Skip to content

:isolatedTest does not allow running singular tests #635

Description

@Kuba663

Your CleanroomMC Discord Username

_eerie2

Cleanroom Version

0.6.14-feature-compute-api

Java Version

Java 25

Graphics Card Vendor

NVidia

Bug Report

Tests were ran from inside IntelliJ idea, the only way to run a test now seems to be running it using :test, however that requires building 1222 Gradle Test Workers which takes over 10 minutes. This makes testing very counterintuitive.

The test command was :isolatedTest --tests "com.cleanroommc.compute.ComputeAPITest", this is taken from Run/Debug Configurations.

Reusing configuration cache.
> Task :processResources UP-TO-DATE
> Task :processTestResources UP-TO-DATE
> Task :extractInitialPatches UP-TO-DATE
> Task :extractMcpMappings UP-TO-DATE
> Task :extractMcpConfig UP-TO-DATE
> Task :prepareMcpInjectedSources UP-TO-DATE
> Task :downloadClientJar SKIPPED
> Task :splitClientJar UP-TO-DATE
> Task :downloadServerJar SKIPPED
> Task :splitServerJar UP-TO-DATE
> Task :mergeJars UP-TO-DATE
> Task :remapNotch2Srg UP-TO-DATE
> Task :injectMetadata UP-TO-DATE
> Task :extractInheritance UP-TO-DATE
> Task :checkSAS UP-TO-DATE
> Task :discardCheckSASIntermediates SKIPPED
> Task :applySAS UP-TO-DATE
> Task :discardApplySASIntermediates SKIPPED
> Task :accessTransformSrgJar UP-TO-DATE
> Task :discardAccessTransformSrgJarIntermediates SKIPPED
> Task :decompileSrg UP-TO-DATE
> Task :discardInjectedJar SKIPPED
> Task :discardAccessTransformedSrgJar SKIPPED
> Task :prepareApplyInitialDiffs UP-TO-DATE
> Task :discardPrepareApplyInitialDiffsIntermediates SKIPPED
> Task :applyInitialDiffs UP-TO-DATE
> Task :remapSrg2Mcp UP-TO-DATE
> Task :initializeMinecraftPatchDevEnvironment
> Task :prepareMinecraftSources UP-TO-DATE
> Task :initializeMinecraftPatchDevSources SKIPPED
> Task :prepareMinecraftPatchDevEnvironment
> Task :compileJava UP-TO-DATE
> Task :classes UP-TO-DATE
> Task :compileTestJava UP-TO-DATE
> Task :testClasses UP-TO-DATE
> Task :isolatedTest
FAILURE: Build failed with an exception.
* What went wrong:
No matching tests found in any candidate test task.
    Requested tests:
        Test pattern com.cleanroommc.compute.ComputeAPITest in task :isolatedTest
* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights from a Build Scan (powered by Develocity).
> Get more help at https://help.gradle.org.
BUILD FAILED in 3s
25 actionable tasks: 3 executed, 22 up-to-date
Configuration cache entry reused.

Mod List

None, this is a dev problem

Final Checklist

  • I have searched the issues and haven't found a similar issue.
  • I have read the readme and know that what is action build.
  • I have installed Fugue and it didn't fix my issue.
  • I have installed Scalar Legacy and it didn't fix my issue.
  • I have switched my Forgelin and LibrarianLib to continuous versions(check readme for more detail).
  • I am running a test build from Cleanroom Github Actions. (Or, if I've compiled it myself I plan to fix the issue)
  • I did not use PCL/PCLCE or other unsupported launchers.
    我没有使用 PCL/PCLCE 等其他未被支持的启动器。

Activity

  1. added this to the Cleanroom 0.7.0 milestone on Sep 24, 2026
  2. added theissue type on Sep 24, 2026
  3. added a commit that references this issue on Sep 24, 2026
    d62f9d6
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

    invalidThis doesn't seem right

    Type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions