Suggestion by way of @pjweinb: when typing a new function declaration in a test file (*_test.go), we could offer completion items for untested exported functions in the non-test package.
For example, if package p defines function Foo, we could offer the completion suggestion func TestFoo when typing in p_test.go.
Extra credit: populate the completion snippet with a test body that sets up a table-driven test for the function in question.
Suggestion by way of @pjweinb: when typing a new function declaration in a test file (
*_test.go), we could offer completion items for untested exported functions in the non-test package.For example, if package
pdefines functionFoo, we could offer the completion suggestionfunc TestFoowhen typing inp_test.go.Extra credit: populate the completion snippet with a test body that sets up a table-driven test for the function in question.