Skip to content

I can't get any output of println in test results panel #1797

Open

Description

@TU-Zhong
Image there should be username and password lists in the panel,but there isn't I found that I can get the result in debug panel,like this if I put a breakpoint there Image

I'm not sure if this if a bug or an error

so anyone can deal with this question? thanks for helping me!

Activity

  1. github-actions commented on Oct 11, 2025

    @github-actions

    Hi TU-Zhong, I'm an AI Support assistant here to help with your issue. While the team reviews your request, I wanted to provide some possible tips and documentation that might help you in the meantime.

    Issue: System.out.println output does not appear in the Test Results panel when running tests, only in the Debug Console.

    Workarounds & Suggestions

    • Update to the latest Java Test Runner extension (problems with stdout in panel were reported in v0.24.2).
    • Open the Test Runner output channel:
      1. View → Output
      2. Select “Test Runner” (or “Java Test Runner”) from the dropdown. Your println statements are logged there, not in the Test Results UI.
    • Consider using a logging framework (e.g. SLF4J/log4j) instead of System.out.println, which integrates better with VS Code’s test output.

    Duplicate

    Other references with low confidence

    The team will respond to your issue shortly. I hope these suggestions are helpful in the meantime. If this comment helped you, please give it a 👍. If the suggestion was not helpful or incorrect, please give it a 👎. Your feedback helps us improve!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions