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

If you write a test that forces a particular codepath in the original implementation, like "parameter one is an empty string and parameter two is a null pointer, and verify the return value of the function call", then it should still be a perfectly valid test if the implementation changes, it just might not be a very meaningful test.



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

Search: