We are using JQuery and some bit of Javascript in our project. We are thinking of writing some unit test around it for which there are different ways like JSUnit, Qunit, XUnit
Can anyone suggest which is the best way to unit test javascript/jquery and if possible with some good link?
I would suggest QUnit. jQuery itself uses it for internal unit testing.
See here
Chad Myers has a good intro post into using qUnit.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With