hbenl / vscode-mocha-test-adapter

Mocha Test Adapter for the VS Code Test Explorer
MIT License
91 stars 31 forks source link

Top-level errors ignored with native Testing UI #187

Open Drarig29 opened 2 years ago

Drarig29 commented 2 years ago

I'm sorry if it's not here I should file an issue.

With the Test Explorer UI (not native), when there is a "top-level" error, the Test view tab is shown in VS Code and we can easily see the error:

image

If I set useNativeTesting to true, the Test view tab disappears and there is no way to have a clue what the error is. The "Text Explorer" and "Mocha Tests" outputs are empty.

image

Current workaround: disable useNativeTesting to view the error.

hbenl commented 2 years ago

I've created a fix in microsoft/vscode-test-adapter-converter#26

Drarig29 commented 2 years ago

Thanks! I'll be waiting. For now I use the good-old Test Explorer UI as it still works perfectly.