3 ms·
I'm not sure how that would work. After an expect fails, why would I trust the results of any other that is passing of failing? It is true that the tests shoul
by marcosdumay 6y ago
I'm not sure how that would work. After an expect fails, why would I trust the results of any other that is passing of failing?
It is true that the tests should be independent, so that one of them failing wouldn't imply on the other being useless. But that requires much more than simply continuing after an error.
- chrchang523 6y agoThat's why both assert and expect are in that framework. You still use assert when that particular test failure may prevent other tests from working as designed, but you try to use expect for all independent "leaf" tests.