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

When I need internal checks and flexible testing, I create testing types. So, instead of "Null", I let the test pass a "TestIgnore" type object and react to that accordingly.

These types should be clearly meant to be used ONLY in testing environments.



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

Search: