Unit testing: Difference between revisions

From HaFrWiki42
Jump to navigation Jump to search
Created page with "{{TOCright}} 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" ..."
 
mNo edit summary
Line 2: Line 2:
The first tests to be made are Unit-tests. A successful Unit-test is the essential start for other tests.
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"
But how to perform Unit-tests. Here are some examples:
* Java jUnit, the reference for all other (unit) tests.
* [[#jUnit|Java jUnit]], the reference for all other (unit) tests. Build and used for java.
* QUnit, JavaScript testing
* [[#phpUnit|PHP phpUnit]], Build like jUnit for PHP.
* [[#QUnit|Javascript QUnit]], JavaScript testing


== 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 ==
== See also ==

Revision as of 18:20, 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