Want to see pretty graphs? Log in now!
npm install intern-geezer
|69||downloads in the last day|
|311||downloads in the last week|
|1 043||downloads in the last month|
|Last Published By|
|Version||1.6.2 last updated 12 days ago|
|Dependencies||wd, istanbul, sauce-connect-launcher, dojo|
geezer branch provides support for testing ancient browsers that do not support EcmaScript 5 (IE 6–8). It does
not use the Chai library, as Chai also requires ES5. Instead, there is an assertion library at
that is API-compatible with Chai’s
assert-style API. This module is not covered under the Dojo Foundation CLA
governing the rest of the Intern project.
This branch will only be maintained for as long as absolutely necessary since it is ugly and a burden.
- 100% AMD, 100% Promises/A-based API
- Instant one-off test execution in the browser or Node.js
- Full statement, branch, function, and line code coverage reporting with Istanbul
- Functional testing using the standard WebDriver API with a custom fluid, promises-wrapped interface based on WD.js
- Integration with Sauce Labs for super simple continuous integration
- Tested with Travis CI
- Extensible interfaces (comes with TDD, BDD, and objects)
- Extensible reporters (comes with basic console, WebDriver, and lcov reporters; tap planned)
- Extensible assertions using the Chai Assertion Library (or any other assertion library that throws errors)
|Code coverage analysis||Yes||No||Yes||No||Extension||Yes|
|True1 browser events||Yes||No||No||No||No||No|
|Native AMD support||Yes||No||No||No||Extension||Extension|
|Stand-alone2 browser support||Yes||Yes||Build required||Build required||Experimental||No|
|Any4 assertion library||Yes||No||Yes||No||Yes||N/A|
|Default test interface||TDD, BDD, object||TDD||TDD, BDD, object||BDD||TDD, BDD||N/A|
|Extensible test interfaces||Yes||No||Yes||No||Yes||N/A|
|Asynchronous support||Promises||Globals||Callbacks||Polling||Callbacks, Promises||Callbacks|
|Built-in CI support||Yes||No||No||No||Yes||Yes|
|Built-in Sauce Labs integration||Yes||No||No||No||No||No|
|Built-in Travis CI integration||Yes||No||No||No||No||Yes|
|Grunt support||Yes||3rd party||3rd party||3rd party||3rd party||3rd party|
2: Stand-alone means that unit tests can be executed in a browser by navigating to a URL without needing any special HTTP server or proxy for support.
3: Some older versions of QUnit can be used in conjunction with a 3rd party module to run on Node.js, but newer versions do not support Node.js and will break even with the use of 3rd party modules.
4: If it throws an error on failure, it works with Intern.
Install from npm
cd /my/project/root npm install intern-geezer --save-dev
mkdir tests ; cp node_modules/intern-geezer/tests/example.intern.js tests/intern.js
Verify your configuration works by running the Node.js client and seeing that no errors are output.
Intern is available under the terms of the New BSD License. All code, with the exception of
portions of the
assert.js library and tests in the geezer branch, is developed under the terms of the
Dojo Foundation CLA.