qunit-ui

0.1.5 • Public • Published

node-qunit-ui

Installation

npm install qunit-ui

For node-inspector integration:

npm install node-inspector

Usage

require('qunit-ui').start('path/to/tests.js');

Or to specify other options:

require('qunit-ui').start({
    testPath: 'path/to/tests.js',
    codePath: 'path/to/code.js',
    uiPort: 12000,
    inspectorPort: 12001,
    debugPort: 12002
});

Go to http://localhost:12000/ to run tests. If node-inspector is installed, a debug link is provided to step into first line of test runner.

To run the sample tests, get the source (or copy the two files to the folder you just installed qunit-ui to), set the current working directory to the Tests directory and run:

node tests.js

Caveats

Feel free to use this project, but keep in mind that it is a hack and has no future. It is bootstrapping the development of a much more powerful test runner, built on http://tribejs.com/.

There are no unit tests.

Readme

Keywords

none

Package Sidebar

Install

npm i qunit-ui

Weekly Downloads

0

Version

0.1.5

License

MIT

Last publish

Collaborators

  • danderson00