-
Notifications
You must be signed in to change notification settings - Fork 760
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
src/goTestExplorer: implement a test provider for the new test api
What this does: - Implements a test provider using the new API - Populates the test explorer with a list of modules and/or workspaces - Populates each module/workspace/package/file as it is expanded - Creates test entries for the current file, and package/module parents - Runs tests! What this does not: - Debug tests - Handle stretchr suites Issues: - Handling of benchmarks isn't great. But I'm not sure it can get much better without changes to `go test`. - If a test has subtests, I add those subtests. This can get annoying if you have a bunch of subtests. Should this be configurable? Disabling `testing.followRunningTest` can improve this UX. Fixes #1579 Change-Id: I027c7c3b615eda4c528da9739520e6bfd1aa6911 GitHub-Last-Rev: 59af29b GitHub-Pull-Request: #1590 Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/330809 Reviewed-by: Hyang-Ah Hana Kim <[email protected]> Trust: Hyang-Ah Hana Kim <[email protected]> Trust: Suzy Mueller <[email protected]>
- Loading branch information
1 parent
945a47e
commit 83aa2cb
Showing
17 changed files
with
1,976 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.