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

> but none of their own front-end code because writing for selenium was too hard.

I've also seen plenty of tests that test if a template was rendered rather than if whatever thing it actually outputs was in the output. It is just calcifying the impementation making it hard to test.

But it is a tradeoff, and a hard one as well, because if you do all things all the time, combining all variations of database with all variations of the views, then you end up with a test suite that take forever to run. Finding the right tradeoff there has not shown itself to be very obvious, sadly.



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

Search: