Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test output should be easier to view #114

Open
justin-mccann opened this issue Mar 14, 2023 · 1 comment
Open

Test output should be easier to view #114

justin-mccann opened this issue Mar 14, 2023 · 1 comment

Comments

@justin-mccann
Copy link

I find it difficult to find the test log output when using the Meson test controller; maybe I'm not looking for it in the right place.

When I've run the "Test: Show Output" command, the meson tests usually just show "The test run did not record any output". Also, the few times I did get it to display the test output, the lines were not properly line-wrapped in the display. The display format does require you to replace newlines with \r\n; see the doc here: https://code.visualstudio.com/api/extension-guides/testing#test-output

The vscode-python extension creates a separate vscode OutputChannel for its tests and uses that, so you can go to the Output pane and select the "Python Test Log" channel in the dropdown. This makes it very easy to find the test output. Creating one of those for the Meson tests might be a big win.

I will say that the Python extension's implementation to create and wire it in is a bit complex, but I don't think that's really necessary.

@tristan957
Copy link
Contributor

This seems like a pretty solid idea. Thanks for bringing it up. Not sure when it will be gotten to though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants