You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
In files named *_test.go a right click on a function named Test* with signature func (t *testing.T) would show a menu entry allowing to inject a Launch Configuration or to run it if it already exists.
The text was updated successfully, but these errors were encountered:
Today you can use the configuration snippets in the launch.json file to add a configuration for debugging a test function. Just start typing "Go" and you will get suggestion items for config snippets.
It should be pretty straightforward to add a command that makes use of the config snippet, and plugs in the name of the test function under the cursor.
As far as debugging the test under the cursor, I think we can use the command "go.debug.startSession" and pass in the config
Am a little busy this week and the next week, so might not be able to get to this.
PRs are welcome though, and I am available to help out if anyone wants to take stab at this and needs help
In files named
*_test.go
a right click on a function namedTest*
with signaturefunc (t *testing.T)
would show a menu entry allowing to inject a Launch Configuration or to run it if it already exists.The text was updated successfully, but these errors were encountered: