O'Reilly logo

NativeScript for Angular Mobile Development by Nathanael J. Anderson, Nathan Walker

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Angular testing

The first type of unit testing we will cover is Angular unit testing. It is based around Karma (https://karma-runner.github.io/) and Jasmine (http://github.com/pivotal/jasmine). Karma is a full-featured test runner, which was produced by the Angular team. When the team was implementing Angular, they ran into issues , such as figuring out how to test Angular, so they built Karma. Karma has ended up becoming an industry-standard multipurpose test runner. Jasmine is an open source testing framework that implements a number of testing constructs helps you do all your testing easily. It has been around a lot longer than Karma. Since it was in use by a lot of people before Karma, it became the default testing library in the Angular ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required