metals icon indicating copy to clipboard operation
metals copied to clipboard

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

Open spamegg1 opened this issue 1 year ago • 2 comments

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

spamegg1 avatar Jul 15 '24 15:07 spamegg1

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

g0di avatar Sep 20 '24 08:09 g0di

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

tgodzik avatar Sep 20 '24 11:09 tgodzik