Testing an AngularJS application end to end

AngularJS has a great story for implementing end-to-end tests that verify user interaction with the web application under test through the browser client. The test runner that facilitates these tests is Protractor, which is an AngularJS-friendly wrapper around the Selenium WebDriver browser automation framework. Selenium WebDriver can issue commands against a specific browser and retrieve the results, allowing test frameworks to set up test scenarios and make assertions against the actual content rendered in the browser. Protractor has access to the Selenium WebDriver API through a set of JavaScript bindings called WebDriverJS, and by default will use a Node.js version of Jasmine to define the tests. ...

Get Learning AngularJS for .NET Developers now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.