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

I read it as using introspection/reflection to test what is essentially implementation details which are very likely to change.

This is how you write brittle tests which fail easily and cause high maintenance costs and reduced confidence in the unit-tests as a safety net.

Definitely an anti-pattern.



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

Search: