| 1 | Source: libjs-qunit |
| 2 | Section: javascript |
| 3 | Priority: optional |
| 4 | Maintainer: Debian Javascript Maintainers <[email protected]> |
| 5 | Uploaders: |
| 6 | Jonas Smedegaard <[email protected]>, |
| 7 | Laszlo Boszormenyi (GCS) <[email protected]>, |
| 8 | Build-Depends: |
| 9 | brotli, |
| 10 | debhelper-compat (= 13), |
| 11 | grunt, |
| 12 | node-grunt-contrib-concat, |
| 13 | node-load-grunt-tasks, |
| 14 | pandoc <!nodoc>, |
| 15 | pigz, |
| 16 | uglifyjs, |
| 17 | Standards-Version: 4.6.0 |
| 18 | Homepage: https://qunitjs.com/ |
| 19 | Vcs-Git: https://salsa.debian.org/js-team/libjs-qunit.git |
| 20 | Vcs-Browser: https://salsa.debian.org/js-team/libjs-qunit |
| 21 | Rules-Requires-Root: no |
| 22 | |
| 23 | Package: libjs-qunit |
| 24 | Architecture: all |
| 25 | Depends: |
| 26 | ${misc:Depends}, |
| 27 | Recommends: |
| 28 | javascript-common, |
| 29 | Multi-Arch: foreign |
| 30 | Description: JavaScript Unit Testing framework |
| 31 | QUnit is a powerful, easy-to-use, JavaScript test suite. |
| 32 | It's used by the jQuery project to test its code and plugins |
| 33 | but is capable of testing any generic JavaScript code |
| 34 | (and even capable of testing JavaScript code on the server-side). |
| 35 | . |
| 36 | QUnit is especially useful for regression testing: |
| 37 | Whenever a bug is reported, |
| 38 | write a test that asserts the existence of that particular bug. |
| 39 | Then fix it and commit both. |
| 40 | Every time you work on the code again, run the tests. |
| 41 | If the bug comes up again - a regression - |
| 42 | you'll spot it immediately and know how to fix it, |
| 43 | because you know what code you just changed. |
| 44 | . |
| 45 | Having good unit test coverage makes safe refactoring easy and cheap. |
| 46 | You can run the tests after each small refactoring step |
| 47 | and always know what change broke something. |
| 48 | . |
| 49 | QUnit is similar to other unit testing frameworks like JUnit, |
| 50 | but makes use of the features JavaScript provides |
| 51 | and helps with testing code in the browser, |
| 52 | e.g. with its stop/start facilities for testing asynchronous code. |