Skip to content

treasonx/amd-karma-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Karma Example

This is an example setup for the Karma test runner with AMD modules (requirejs).

Getting started

Clone this repo and run npm install in the project. This will pull down all the dependencies.

Using the project

All of the interaction with Karma is done using grunt.

  • test: runs the tests normally.
  • coverage: runs the tests with coverage reporting
  • testPhantom: spawns phantomjs and runs the tests

To view the coverage report run grunt coverage let the tests run and then point your browser to http://localhost:9877

About

Example Karma Setup with AMD (RequireJS)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published