Protractor

An E2E testing framework for AngularJS

https://github.com/angular/protractor

Test Pyramid

What is E2E testing ?

In general E2E testing is a technique which is used to test the flow of a system . By doing so the goal is to determine whether the "flow" of system is working as expected. Protractor tests are run after the integration of the individual components.

What is protractor

"Protractor is a Node.js program, and runs end-to-end tests that are also written in JavaScript and run with node. Protractor uses WebDriver to control browsers and simulate user actions." 

Reference :https://docs.angularjs.org/guide/e2e-testing

Why protractor ?

  • Runs in a real browser.
  • Testing is done in a real-world scenario. 
  • Open source and has an active community.
  • Rich API documentation.
  • Easy to configure.
  • Easy to write and maintain tests (With page object model).

Reference : angular.github.io/protractor/#/infrastructure

Protractor E2E testing library for AngularJS

By salimmalik

Protractor E2E testing library for AngularJS

  • 828