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

In production; its good to involve your customers in the development process so they feel included.

Seriously though, for small web projects I usually aim for 100% unit-test coverage on the models, 70-80% on controllers, and then depending on the application jasmine or selenium to verify the UI components are happy.

For larger projects, add in more integration tests ( models -> controllers, controller -> views ) and on something like mechanize to do full stack tests ( models -> view ).

Additionally for either small or large, running some sort of lint/static analysis at the CI can be beneficial.



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

Search: