7 ms·
Thanks for pointing out my brain fart :) If the author of the library is reading, I think it would be a great addition to have a section discussing the benefit
by wodenokoto 6y ago
Thanks for pointing out my brain fart :)
If the author of the library is reading, I think it would be a great addition to have a section discussing the benefit vs writing your own one line checkers.
- mumblemumble 6y agoOne of the biggest benefits of libraries like this is that they tend to explicitly state the test author's intent. To take your example from up top: If I'm coming to the code later, and I notice that it's not asserting for the absence of anything, it may be very difficult for me to tell whether that behavior is your intent, or just a brain fart. It's just another layer of confusion in the many layers of confusion that lead to test rot.