Closed ArtAndreev closed 3 months ago
Hi, @ArtAndreev!
Thank you for request. Do you mean CONTRIBUTING.md#suite-run?
Could you provide the concrete example this concrete problems? 🙏
P.S. Why s.T()
just not return trimmed interface? 🤔 Maybe we already have known issue in testify
project?
Hi!
The problem occurs very rarely, it's hard to understand why it happens. It raises data race between tests, but the only t.Parallel
call is in function that runs suite.
I have just read CONTRIBUTING.md, looks like the unimplemented checks from it should be mentioned in README.md, so I wouldn't have raised this issue. Anyway, sorry for noise 🙂.
Ah, already mentioned:
Also look at open for contribution checkers
Sorry for noise.
According to https://github.com/stretchr/testify/blob/db8608ed63f5bd9abdd03f669f5bb80569c114b6/suite/suite.go#L96
suite.Run
should be used for running subtests instead of directly running subtests withtesting.T
.I ran into some problems with invalid running subtests and want this linter to report such invalid usage.