2 ms·
False positive would be something breaking when it didn't break. This instead would tell you something broke and give you a detailed trace of how it happened te
by jillesvangurp 6y ago
False positive would be something breaking when it didn't break. This instead would tell you something broke and give you a detailed trace of how it happened telling you how to reproduce the breakage (which is super hard with concurrency bugs). If that is somehow expected behavior, you have a flaky test. If you can't rely on your tests, basically you should fix them.
And yes that is hard with testing asynchronous and concurrent code. This framework is intended to make that easier and get more out of your tests without a lot of boilerplate.