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

Singletons could be reset using a beforeclass(Reset data before a test suite is ran) or beforetest(Reset data before a test is run) type method. This is built into test frameworks for java, python and others.


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

Search: