QUnit

From Free Software Directory
 
Jump to: navigation, search


[edit]

Qunit

http://qunitjs.com/
JavaScript Unit Testing framework

QUnit is a powerful, easy-to-use, JavaScript test suite. It's used by the jQuery project to test its code and plugins but is capable of testing any generic JavaScript code (and even capable of testing JavaScript code on the server-side).

QUnit is especially useful 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.

Having good unit test coverage makes safe refactoring easy and cheap. You can run the tests after each small refactoring step and always know what change broke something.

QUnit is similar to other unit testing frameworks like JUnit, but makes use of the features JavaScript provides and helps with testing code in the browser, e.g. with its stop/start facilities for testing asynchronous code.





Licensing

License

Verified by

Verified on

Notes

License

Other

Verified by

Debian: Laszlo Boszormenyi (GCS) <gcs@debian.org>

Verified on

14 February 2014

Notes

License: expat and bsd-2-clause




Leaders and contributors

Contact(s)Role
https://github.com/jquery/qunit/issues contact


Resources and communication

AudienceResource typeURI
Downloadhttps://github.com/jquery/qunit/downloads git://github.com/jquery/qunit
Debian (Ref) (R)https://tracker.debian.org/pkg/libjs-qunit


Software prerequisites




Entry








"contact" is not in the list (Maintainer, Contributor, Developer, Sponsor, Unknown) of allowed values for the "Role" property.


"Debian (Ref) (R)" is not in the list (General, Help, Bug Tracking, Support, Developer) of allowed values for the "Resource audience" property.








Date 2015-07-17
Source Debian
Source link http://packages.debian.org/sid/libjs-qunit

[[Category:]]



Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.