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 tests support asynchronous because of the browser interaction
– Protractor uses native events and browser-specific drivers
Website – https://angular.github.io/protractor/#/