No intro.
I'm tired of always clicking the Run Test
above the function test. So I thought, there must be a shortcut to this. lol
Steps I took:
- Ctrl + Shift + P
- Keyboard Shortcuts
- Search "test"
- Double click on
go.test.cursor
- Set your own keyboard shortcut. I went with Option + t
- Place the cursor anywhere inside the test function and run the test shortcut
- Voila!
Bonus
You can also set a shortcut on go.test.file
to run all the tests in the opened file. I set mine to Option + Shift + T
Top comments (1)
thanks man it really saved a lot of time in testing unit functions separately