Run Single Test

Speed up testing by focusing on one test.

Want to focus your testing on just one test? Then you can launch the test under the cursor using a shortcut.

How to use:

To launch the test under the cursor, invoke the test runner via ⌃⇧R (macOS) / Ctrl+Shift+F10 (Windows/Linux)

Related Resources

Code coverage for applications
Track code execution and identify dead code effectively
Generate tests for generic functions
Use a shortcut to generate test files for your generic functions.
Integrated Go Playground
You can format and share your code, change the Go version, and run your code using the Go playground server.