3 ms·
Are you dogmatic about things such as only one assert per test case or similar?
by leetrout 3y ago
Are you dogmatic about things such as only one assert per test case or similar?
- atomicnumber3 3y agoNot at all! Quite the opposite. I encourage people to write tests that make sense, are readable, and are a good use of their time. I encourage people to NOT write tests if they don't actually believe that it improves their belief the code actually works in prod, and also if they think it's not worth the LOC.