Protractor - End-to-End Testing Framework for AngularJs



Mostly AngularJs developer use unit testing framework like Karma/Jasmine for test AngularJs Code.
But end-to-end testing also important for AngularJs. Unit tests and end-to-end tests serve different purposes and but it can be work together.

Protractor is an end-to-end test framework for AngularJS applications. Protractor runs tests against your application running in a real browser, interacting with it as a user would.
Protractor is built on top of WebDriverJS, which uses native events and browser-specific drivers to interact with your application as a user would.

Features of Protractor

- Protractor can runs tests
- Protractor tests against your application running in a real browser
- Protractor does not work with your JavaScript directly
- Protractor tests support  asynchronous because of the browser interaction
- Protractor uses native events and browser-specific drivers

Official Site
 
Website - https://angular.github.io/protractor/#/
Github: https://github.com/angular/protractor
FAQ: https://github.com/angular/protractor/blob/master/docs/faq.md
API:  https://github.com/angular/protractor/blob/master/docs/api.md

Blog

http://www.ng-newsletter.com/posts/practical-protractor.html
http://product.moveline.com/testing-angular-apps-end-to-end-with-protractor.html
http://www.3pillarglobal.com/insights/using-the-protractor-automation-tool-to-test-angularjs-applications
http://engineering.wingify.com/posts/e2e-testing-with-webdriverjs-jasmine/

Videos

https://www.youtube.com/watch?v=57134cHJlAs 
https://www.youtube.com/watch?v=idb6hOxlyb8

Demos

https://github.com/yearofmoo/angularjs-seed-repo
https://github.com/clevertech/cleverstack-angular-seed
Previous
Next Post »
Thanks for your comment