Deciding on a Testing Platform

There are several different platforms you can use for testing JavaScript applications. Which one you go with might depend on what your engineers are most familiar with, what your budget is, which JavaScript framework you need, or just what you are already using.

These are all very real and important concerns, and you will need to make your decision based on them. That being said, the AngularJS group seems to have gravitated toward Jasmine as their unit test framework. It makes sense. Jasmine is the kind of framework that seems to provide a lot of functionality while not getting in the way of testing. In fact, for end-to-end testing you will need to use Protractor, which uses the Jasmine syntax for testing.

You ...

Get Learning AngularJS now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.