This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 645
Ability to run all Benchmarks in a test file #1522
Labels
Comments
Showing all the 4 below by default would get noisy
So I propose the below
Sure we can do this, but is this a common scenario that a _test.go file which is essentially a test file will not have any tests? PRs are welcome |
Closed
biancarosa
added a commit
to biancarosa/vscode-go
that referenced
this issue
Aug 30, 2018
ramya-rao-a
pushed a commit
that referenced
this issue
Aug 30, 2018
* ✅ creates Go: Benchmark Package function (#1522) * ➕ adds the possibility of running all benchmarks for a package * remove tab on empty line * 📝 updates description
ramya-rao-a
pushed a commit
that referenced
this issue
Aug 31, 2018
* ✅ creates Go: Benchmark Package function (#1522) * ➕ adds the possibility of running all benchmarks for a package * remove tab on empty line * 📝 updates description * ➕ add command to run all benchmarks in a file * Fix test failure
ramya-rao-a
added a commit
that referenced
this issue
Sep 23, 2018
This should now be available in the latest update to this extension (0.6.90). Thanks to @biancarosa! |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Go testing support in this package is awesome. But it would be really cool if you had the abililty to:
run package benchmarks (if any _test.go file had Benckmark functions)
run file benchmarks (if current _test.go file contains Benchmark functions)
Also not show "run file tests" (if current _test.go does not contain Test functions.
The text was updated successfully, but these errors were encountered: