Should I use Protractor or Karma for my end-to-end testing?

Hi,

What should I use for end-to-end testing of AngularJs application? Should I use Protractor or Karma for my end-to-end testing?

Thanks

View Answers

May 14, 2017 at 10:26 AM

Hi,

Jasmine and karma is used for low level Unit testing. Its like JUnit testing in Java.

For end-to-end testing of the AngularJs based application use Protractor.

Protractor is good for testing AngularJS based application. It is specially designed to write end to end testing cases for AngularJS applications.

So, for testing your application you should use Protractor.

Thanks









Related Tutorials/Questions & Answers:
Advertisements