Unit Testing javascript
Posted by Daz Wed, 07 Mar 2007 17:59:55 GMT
I've been improving and extending some javascript recently and have been missing something like Junit or Test::Unit.
I started writing a quick set of assertxx functions to be able to test and then start test driving the new code.
I started writing a quick set of assertxx functions to be able to test and then start test driving the new code.
After a short time I felt like I was re-inventing the wheel and a google later I found jsUnit. It has the nice comforting green bar and finds testxxx functions at runtime. Check it out.