Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Ask YC: Do you unit test your Javascript?
4 points by hbien on Dec 28, 2007 | hide | past | favorite | 3 comments
As web applications are using AJAX and effects to create a better UI for the user, more and more Javascript is being written.

I unit test most of my server side code with pyunit. But I haven't written a single test for my Javascript yet, but the amount of Javascript I have is almost 2x the amount of server side code.

If you do unit test your Javascript, what unit testing library are you using?




YUI has a small unit test framework that I use. Also http://www.thefrontside.net/crosscheck can be used to emulate browsers.


Correct Javascript does not imply browser compatibility...




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

Search: