We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Can we add a func (*T) Context() context.Context accessor in the testing package?
func (*T) Context() context.Context
And then make each test run with a context which is canceled when it finishes.
Then goroutines created by tests can select on the test's completion (pass or fail).
Thoughts?