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

proposal: cmd/go: test -json include file and line info #45733

Open
TomMD opened this issue Apr 23, 2021 · 0 comments
Open

proposal: cmd/go: test -json include file and line info #45733

TomMD opened this issue Apr 23, 2021 · 0 comments
Labels
Milestone

Comments

@TomMD
Copy link

@TomMD TomMD commented Apr 23, 2021

  1. Clone a go repository
  2. Change into the directory
  3. Run go test ./... -json

Running this process you should see output such as:

{ "Action" : "fail", "Package" : "foo", "Test" : "bar" }

It would be useful to have fields of filename and line_number as well, indicating where the named test is defined.

@seankhliao seankhliao changed the title Add fields to go test indicating test definition location proposal: cmd/go: test -json include file and line info Apr 23, 2021
@gopherbot gopherbot added this to the Proposal milestone Apr 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants