d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > E2e And Unit Testing With Protractor For Angularjs
Add Reply New Topic New Poll
Member
Posts: 5,167
Joined: Nov 23 2006
Gold: 11.01
Sep 14 2015 03:16pm
Anyone here used Protractor before? I'm fairly new to it and JS unit testing in general... what did you use to learn Protractor? Just trial/error?
Member
Posts: 1,995
Joined: Jun 28 2006
Gold: 7.41
Sep 14 2015 03:37pm
I have not used Protractor, but I have used Karma and Jasmine. To my knowledge, protractor can be used to run Jasmine tests. It basically just simulates a user experience through a UI. My advice would be to ensure your services and controllers are functioning correctly through unit testing, and then once that is established, you can create a set of user flows you would like to simulate with Protractor: login, update profile, click a link, etc.
Member
Posts: 5,167
Joined: Nov 23 2006
Gold: 11.01
Sep 18 2015 01:07pm
Quote (Minkomonster @ Sep 14 2015 04:37pm)
I have not used Protractor, but I have used Karma and Jasmine. To my knowledge, protractor can be used to run Jasmine tests. It basically just simulates a user experience through a UI. My advice would be to ensure your services and controllers are functioning correctly through unit testing, and then once that is established, you can create a set of user flows you would like to simulate with Protractor: login, update profile, click a link, etc.


Yah, I'll be writing a ton of unit tests with Jasmine (in protractor) then running E2E tests with Protractor features later.
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll