Testing AngularJS Application Using Selenium and PhantomJS

I want to test my AngularJS application using Selenium and PhantomJS, but I do not find it easy to start a resource or video tutorial. Could you offer a good resource as a starting point.

+4
source share
2 answers

As Nima-Waziri said, you should take a look at Karma to run unit tests in your application. This article will help you along the way.

Then, to run the e2e tests, the new runner developed by the Angular team is Protractor, and you can start with this demo: Protractor demo

To understand, these documents were very useful for me:

If you are going to work with AngularJS: you definitely should know about eggehead.io video! This one is a protractor. But, there are many video tutorials that are very interesting to teach you how to create an Angular app!

+2
source

Have you looked at this tutorial ?

. , - , ( Mocha).

Karma Protractor, AngularJS. AngularJS.

Selenium, Nightwatchjs, , Node.js. Nightwatchjs Protractor, , .

+3

Source: https://habr.com/ru/post/1525797/


All Articles