• Home
  • History
  • Annotate
  • only in /external/chromium_org/third_party/qunit/
NameDateSize

..12-Mar-20154 KiB

LICENSE12-Mar-20151.1 KiB

OWNERS12-Mar-201545

README.chromium12-Mar-20151.4 KiB

src/12-Mar-20154 KiB

README.chromium

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