1.0.0 • Published 7 years ago
karma-quixote v1.0.0
karma-quixote
Installation
Install the plugin from npm:
$ npm install karma-quixote --save-dev
Or from Github:
$ npm install 'git+https://github.com/woldie/karma-quixote.git' --save-dev
Instructions on how to install karma can be found here
Configuration
In your Karma configuration:
- add
require('karma-quixote')
to the plugins list, and - add
quixote
to theframeworks
key
// karma.conf.js
module.exports = function(config) {
config.set({
plugins: [ require('karma-quixote'), ... ],
frameworks: ['quixote', ... ],
.
.
.
});
};
Usage
This karma plugin simply loads and installs the global quixote
namespace object. It is your responsibility
to initialize a QFrame for Karma to add to its DOM and then make quixote assertions in your tests as described
on the Quixote page
License
The MIT License (MIT)