Skip to content

Go test outputs opens in terminal tab instead of output tab #2615

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

Closed
jadeidev opened this issue Jan 17, 2023 · 1 comment
Closed

Go test outputs opens in terminal tab instead of output tab #2615

jadeidev opened this issue Jan 17, 2023 · 1 comment

Comments

@jadeidev
Copy link

What version of Go, VS Code & VS Code Go extension are you using?

Version Information
  • Run go version to get version of Go from the VS Code integrated terminal.
    • go version go1.19.4 windows/amd64
  • Run gopls -v version to get version of Gopls from the VS Code integrated terminal.
    • v0.11.0
  • Run code -v or code-insiders -v to get version of VS Code or VS Code Insiders.
    • 1.74.3
  • Check your installed extensions to get the version of the VS Code Go extension
  • Run Ctrl+Shift+P (Cmd+Shift+P on Mac OS) > Go: Locate Configured Go Tools command.

Describe the bug

When running tests from vscode the output opens up as a new terminal window like so:
image
I expected it to open in the output tab under "Go Test":
image

I don't know if this is the intended behavior. if it is, then obviously go ahead and close the issue

Steps to reproduce the behavior:

  1. Run tests in VS code with the test UI
@gopherbot gopherbot added this to the Untriaged milestone Jan 17, 2023
@hyangah
Copy link
Contributor

hyangah commented Jan 19, 2023

Hi @jadeidev Thanks for reporting the issue.
The test explorer utilizes newer TestAPI that utilizes the terminal window. The Go Tests output channel predates TestAPI and still gets used by the old ways of running tests (e.g. test code lens, ..). We hope to clean up and remove the old ways (the Go Tests output channel) as part of the effort such as #1702 and #2044.

Closing in favor of existing issues.

@hyangah hyangah closed this as completed Jan 19, 2023
@svdarren svdarren mentioned this issue Aug 6, 2023
@golang golang locked and limited conversation to collaborators Jan 19, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants