jQuery UI Widget Library Template
This repo is a template for a jQuery UI widget library. Clone this repo and Use it to create new jQuery UI widgets for your own projects.
Testing your widget
Running the tests in your browser
The tests are being refactored to prevent the need for XHR which will eliminate this dependency.
/spec/SpecRunner.html file in your web browser to run the tests using the Jasmine browser test runner. There's a shortcut to do this using:
Which opens the tests in Google Chrome.
Running the tests on the command-line
Using Jasmine and PhantomJS allows us to run our unit tests from the command-line. You'll need phantomjs installed on your machine before you can run this:
Running the tests on Hudson
To run the tests on the Hudson server:
The output is stored in a junit compatable XML test file in junit-hudson.xml.