| ▲ | metadat 2 hours ago | |
That is a useful pattern, though I was unclear on why `t.Cleanup` and not `defer`. In case others are curious, too: > Parallel subtestsWith t.Run(..., func(t testing.T) { t.Parallel(); ... }), the parent test function can return (and thus run its defers) before parallel subtests actually finish.* | ||