scalameta / metals

Scala language server with rich IDE features 🚀
https://scalameta.org/metals/
Apache License 2.0
2.1k stars 333 forks source link

[VS Code] Test output is displayed in Debug Console instead of Test Results #6594

Open spamegg1 opened 3 months ago

spamegg1 commented 3 months ago

Describe the bug

  1. Run a test that prints something.
  2. Open Panel by pressing Ctrl+J.
  3. It's printed in Debug Console instead.

Screenshot from 2024-07-15 17-37-47

Expected behavior

Test output should be in Test Results tab.

Screenshot from 2024-07-15 17-24-04

Operating system

Linux

Editor/Extension

VS Code

Version of Metals

v1.3.3

Extra context or search terms

debug console test results testing

g0di commented 1 month ago

I'm not sure if this is related but the tests output get reported as bloop errors as well image

tgodzik commented 1 month ago

I haven't realized that. The server must be sending error logs in that case. That should really go to info. Opened an issue about that https://github.com/scalacenter/bloop/issues/2449