tern-qunit provides :
- the tern qunit plugin qunit.js
You can play with online demo which uses CodeMirror ((inside Web Browser).
You can see demos in this git project with CodeMirror in demos/qunit.html :
Here a screenshot with completion with CodeMirror QUnit completion :
Here a screenshot with completion with Eclipse IDE QUnit completion :
If you wish to use Eclipse as IDE, see Eclipse support for QUnit.
tern-qunit works with the NodeJS [Tern Server][tern-server], and within a browser.
The easiest way to install tern-qunit is to use a recent version of [npm][npm]. In the directory where you installed the [tern package][tern-npm], simply run
$ npm install tern-qunit
qunit support QUnit.
In order for Tern to load the tern-qunit plugin once it is installed, you must
qunit in the
plugins section of your [Tern configuration
Here is a minimal example
.tern-project configuration file:
With WebBrowser (CodeMirror)
The basic structure of the project is given in the following way:
qunit.jsthe tern plugin.
demos/demos with QUnit tern plugin which use CodeMirror.
testtest of the tern plugin.