8 years ago
288 Views
0 0

QUnit – JavaScript unit testing framework

Written by

QUnit is a Simple yet Powerful, easy to use JavaScript unit testing framework that helps you to debug code and plugins. It uses jQuery for testing jQuery User Interface as well as QUnit is the official test suite for jQuery but is capable of testing any generic JavaScript code (and even capable of testing JavaScript code on the server-side via some JavaScript engine like Rhino, Spider monkey, V8, JavaScript Core).

QUnit - JavaScript unit testing framework

QUnit is especially designed for regression testing: Whenever a bug is reported, write a test that asserts the existence of that particular bug.Then fix it and commit both. Every time you work on the code again, run the tests. If the bug comes up again – a regression – you’ll spot it immediately and know how to fix it, because you know what code you just changed.

Download : QUnit

Article Categories:
jQuery Plugins

Comments

wonderful comments!