No green play button beside a Go test
See original GitHub issueOS/Web Information
- Web Browser: Chrome
- Local OS: macOS
- Remote OS: Ubuntu
- Remote Architecture: x86-64
code-server --version
: 4.0.1 735c6da829535969ff7193c79379299e4a1cb9bc
Steps to Reproduce
- Install the golang.Go extension
- Open a go project
- Open a
*_test.go
file containing some tests
Expected
The should be a green play button beside the test, and users can run this specific test by just clicking it.
Actual
The is no green play button
Screenshot
Notes
This issue can be reproduced in VS Code: Yes
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
In Intellij, right click on a test does not present a "Run" option
My problem was that my test class wasn't public. I needed: public class MyTest { @Test public void testMethod() {. instead of:
Read more >Right-click on a test class does not show the "run" options
Everything works properly, except that right-clicking a test class does not display the Run options (Run as JUnit / Specs2 / ScataTest etc)....
Read more >Running tests - IDEs & Debugging - milliams.com
Now that our code is all in place, we can go ahead and run the test. ... that this is a test, there...
Read more >Java Testing in Visual Studio Code
Run/Debug test cases. The Test Runner for Java extension will generate shortcuts (the green play button) on the left side of the class...
Read more >Run unit tests with Test Explorer - Visual Studio (Windows)
Native C/C++ code projects must be tested by using a C++ unit test framework. Build your test project. If you do not already...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m using this docker image https://github.com/soulmachine/docker-images/tree/master/code-server-go
Here is the
settings.json
https://github.com/soulmachine/docker-images/blob/master/code-server-go/settings.jsonNothing so far, but we welcome any help!