2.0.5 • Published 11 years ago
ng-midway-tester v2.0.5
ngMidwayTester
A pure-javascript integration tester for AngularJS that can be run inline with application code.
Installation
- run
npm install ng-midway-tester
. - include
./node_modules/ngMidwayTester/src/ngMidwayTester.js
into your test runner.
Getting Started
Inside of your test spec code, you can use the midway tester like so:
//creating the tester
var tester = ngMidwayTester('moduleName');
//destroying the tester
tester.destroy();
tester = null;
Be sure to have a new instance of the tester for each spec you're testing.
Docs
http://yearofmoo.github.io/ngMidwayTester/docs
License
MIT