Yeoman generator for building jQuery plugins with Karma and Jasmine
OMG, we codin' so fast!
- Install the generator by running:
npm install -g generator-karma-jquery
gruntto start up Karma on port
9876and a LiveReload server on port
- Write your plugin with tests. Conquer the internets.
|Start a Karma server on port |
|Run Karma and generate code coverage reports in |
|Run a LiveReload server on port |
Karma tests must be in the active browser tab. This means you should connect to the LiveReload server in a separate browser window. Otherwise everything will be really slow. And you'll be bummed.
- Fixtures with jasmine-jquery
- Code Coverage with karma-coverage
- HTML Reports with karma-html-reporter