OLD | NEW |
(Empty) | |
| 1 Name: QUnit |
| 2 Short Name: QUnit |
| 3 URL: https://github.com/jquery/qunit |
| 4 Version: 1.14.0 |
| 5 License: MIT |
| 6 Security Critical: no |
| 7 |
| 8 Description: |
| 9 QUnit is a powerful, easy-to-use, JavaScript unit testing framework. It's used |
| 10 by the jQuery project to test its code and plugins but is capable of testing any |
| 11 generic JavaScript code (and even capable of testing JavaScript code on the |
| 12 server-side). |
| 13 |
| 14 QUnit is especially useful for regression testing: Whenever a bug is reported, |
| 15 write a test that asserts the existence of that particular bug. Then fix it and |
| 16 commit both. Every time you work on the code again, run the tests. If the bug |
| 17 comes up again - a regression - you'll spot it immediately and know how to fix |
| 18 it, because you know what code you just changed. |
| 19 |
| 20 Having good unit test coverage makes safe refactoring easy and cheap. You can |
| 21 run the tests after each small refactoring step and always know what change |
| 22 broke something. |
| 23 |
| 24 QUnit is similar to other unit testing frameworks like JUnit, but makes use of |
| 25 the features JavaScript provides and helps with testing code in the browser, |
| 26 e.g. with its stop/start facilities for testing asynchronous code. |
| 27 |
| 28 It is currently used by the chrome remote desktop team for JavaScript unit |
| 29 testing. |
| 30 |
| 31 Local Modifications: |
| 32 None |
OLD | NEW |