Skip to content

Since version 1.48.0: The test run did not record any output #4260

Closed

Description

@LorenzoBettini

I reported the problem here microsoft/vscode-java-test#1814

However, the problem is caused by this extension.

When running tests, nothing is really executed with a message in "Test Results"

The test run did not record any output.

This is a Maven project, which has always worked before.
I've also tried with other Maven projects with the same result.

I note an error popping up:

"Cannot find 'org.junit.platform.commons.annotation.Testable' on project build path. JUnit 5 tests can only be run if JUnit 5 is on the build path."

In my POM I have

   <properties>
        <junit-jupiter.version>6.0.0</junit-jupiter.version>
    </properties>

	<dependencyManagement>
		<dependencies>
			<dependency>
				<groupId>org.junit</groupId>
				<artifactId>junit-bom</artifactId>
				<version>${junit-jupiter.version}</version>
				<type>pom</type>
				<scope>import</scope>
			</dependency>
        </dependencies>
    </dependencyManagement>

    <dependencies>
        <dependency>
			<groupId>org.junit.jupiter</groupId>
			<artifactId>junit-jupiter-api</artifactId>
			<scope>test</scope>
		</dependency>
    </dependencies>

So I do have JUnit in my build path...

1.49.0 does not solve the problem.

The only solution is to revert to 1.47.0

Activity

  1. fbricon commented on Nov 20, 2025

    @fbricon
    Collaborator

    For now the fix is available in the vscode-java 1.50 pre-release.

  2. LorenzoBettini commented on Nov 20, 2025

    @LorenzoBettini
    Author

    I confirm that 1.50.2025112008 fixes the problem! :)

  3. added this to the End November 2025 milestone on Nov 25, 2025
  4. LorenzoBettini commented on Nov 26, 2025

    @LorenzoBettini
    Author

    @fbricon you closed this, but the fixed version hasn't been released yet, has it?
    Only the pre-release version works.

  5. fbricon commented on Nov 26, 2025

    @fbricon
    Collaborator

    will be released later today

  6. fbricon commented on Nov 26, 2025

    @fbricon
    Collaborator

    1.50 is now available on the marketplaces

  7. tot121212 commented on Jan 28, 2026

    @tot121212

    I am getting this error currently on 1.51. Maybe wasn't fixed yet or was reintroduced?

  8. tot121212 commented on Jan 28, 2026

    @tot121212

    Switching to pre-release seemed to fix.

  9. camel-eon commented on Apr 15, 2026

    @camel-eon

    Unfortunately this still happens even on the latest pre-release versions of the relevant extensions. Downgrading this to 1.47.0, test runner to 0.43.2 and project manager to 0.26 and debugger to 0.59 fixed it...

    I had this issue even without Maven, an empty unmanaged project with "Enable Java Tests" -> "JUnit Jupiter" and a basic test file already cause this problem (while running the tests manually from the command line by invoking the JUnit JAR works fine).

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

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions