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
But this is incompatible with any s.Run in the same test and generally encourages people to avoid s.Run, although I consider it best practice (Antonboom/testifylint#104)
What do you think is the example above valid? Or just black magic? Or I missed something?
Thanks
@Antonboom Users are expecting AfterTest to run after test. We can't can't guarantee that if the test runs in another goroutine because it is Parallel.
So at this point, as a maintainer, it is safer to just discourage using Parallel subtests.
I have several tests using
testify/suite
and I execute them in parallel as followsHowever this panics with
The text was updated successfully, but these errors were encountered: