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

If you can achieve >90% testing, efficiently and properly. It's worth it. Testing for the correct title is worth it. Especially if the title has something appended to it at render time (i.e. hello | website_name). Someone can over ride this on a page and having a test to catch that is important. A well written test would check for page_name | website_name across all pages. Pages are finite. Such tests are useful. Hartl uses basic testing framework as an introduction but there are better ones available.


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

Search: