Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Sure, but isn't it awesome if, instead of being just one unit tests, you can have some critical checks running in every unit test (and when running the code as a whole)?

However, if you're going this route, it might be worth having a second assert macro that can allow you more fine-grained control of enabling/disabling fast asserts vs slow asserts.



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

Search: