Unit testing: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
mNo edit summary
Line 13: Line 13:
== QUnit ==
== QUnit ==
QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!
QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!
* [https://qunitjs.com qunitjs] Home page


== See also ==
== See also ==

Revision as of 18:22, 18 January 2016

The first tests to be made are Unit-tests. A successful Unit-test is the essential start for other tests.

But how to perform Unit-tests. Here are some examples:

jUnit

phpUnit

QUnit

QUnit is a powerful, easy-to-use JavaScript unit testing framework. It's used by the jQuery, jQuery UI and jQuery Mobile projects and is capable of testing any generic JavaScript code, including itself!

See also

top

Reference

top