A Karma plugin. Adapter for Angular's Scenario Runner.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
src
tasks
test
.gitignore
.npmignore
.travis.yml
CONTRIBUTING.md
Gruntfile.coffee
LICENSE
README.md
karma-v0.8.conf.js
karma.conf.js
package.json

README.md

karma-ng-scenario Build Status

Adapter for the AngularJS Scenario Runner.

If you are starting a new project, we recommend using Protractor for e2e testing AngularJS projects.

Installation

The easiest way is to keep karma-ng-scenario as a devDependency in your package.json.

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-ng-scenario": "~0.1"
  }
}

You can simple do it by:

npm install karma-ng-scenario --save-dev

Configuration

Following code shows the default configuration...

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['ng-scenario'],

    files: [
      '*.js'
    ]
  });
};

For more information on Karma see the homepage.