Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 1.79 KB

File metadata and controls

38 lines (29 loc) · 1.79 KB

meteor-angular-testing-approaches-compared

Putting in demos for different testing approaches in angular and meteor, cross referencing features and likely compatibilty

| Test Runner(s) | Testing Framework | Meteorcentric? | dev pref: BDD.. | | ------------- | ------------- | --------------|---------------|------------| || | Velocity | Jasmine | core | | Velocity | Robot Framework |

sudo pip install robotframework-selenium2library
meteor add rsbatech:robotframework
| | | Velocity | Cucumber | meteor add xolvio:cucumber | | npm -i -g protractor | Protractor |

note: node test runners for production use Test Runner: velocity/ grunt/ gulp/ karma

Angular JS Testing Reference

http://andyshora.com/unit-testing-best-practices-angularjs.html http://mherman.org/blog/2015/04/09/testing-angular-with-protractor-and-karma-part-1 http://github.com/mjhea0/angular-testing-tutorial.git https://github.com/wardbell/bardjs - mocha chai testing

Mocks, Stubs, and Injections: Unit testing in Angular.JS

Karma: http://github.com/martin-brennan/ngtest

Angular Unit Testing with Jasmine

-http://medium.com/angularjs-meetup-south-london/angular-unit-testing-with=jasmine-2495a4498e -http://sitepoint.com/unit-testing-angularjs-services-controllers-providers -http://github.com/sitepoint-editors/angular-js-unit-testing-services-controllers-providers ---the unit tests are wtitten in Jasmine and are run by Karma using PhantomJS

Meteor Testing Reference

-http://www.meteortesting.com/chapter/velocity -http://joshowens.me/cucumber-js-and-meteor-the-why-and-how-of-it/ -http://www.mhurwi.com/a-basic-cucumber-meteor-tutorial/ ---https://github.com/mhurwi/cucumber-meteor-tutorial http://www.meteortesting.com/blog/e72fe/the-7-testing-modes-of-meteor