Skip to content

woldie/karma-quixote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

karma-quixote

Quixote for Karma

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 the frameworks 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)

About

Quixote for Karma

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published