hbenl / vscode-test-explorer

The VS Code Test Explorer extension
MIT License
215 stars 55 forks source link

Keyboard shortcut to view full error message #117

Closed brianlow closed 4 years ago

brianlow commented 4 years ago

Ruby test failures are often multi-line. Only the first line is shown: image

Notice we can't see the actual value.

Would like a command to view the full message

hbenl commented 4 years ago

When you click on the failed test in the Test Explorer, the log panel will be opened showing the full error message for that test. Furthermore, there should be a Code Lens "Show Log" above failed tests that you can click to show the log panel.

brianlow commented 4 years ago

Can this be done with the keyboard?

Looking for a fast test, fix, re-test loop during development.

hbenl commented 4 years ago

Once you have opened the log panel by clicking on the test in the Test Explorer or clicking the "Show Log" code lens, the log panel will be updated every time you run that test, so that should be perfect for a fast test, fix, re-test loop.