Hacker News new | past | comments | ask | show | jobs | submit login

Are you dogmatic about things such as only one assert per test case or similar?



Not 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: