O'Reilly logo

Continuous Integration, Delivery, and Deployment by Sander Rossel

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

Unit testing with Jasmine

First things first, we will need to install Jasmine. I can recommend going through this chapter to get started with Jasmine. After that, check out the documentation on the website, https://jasmine.github.io/. Jasmine is pretty extensive, but the documentation is pretty spot on. Now, open up a command prompt and browse to your project folder. Once there, we can install Jasmine through npm. Like with Angular.js and Bootstrap, we want to save Jasmine to our package.json file, but this time, as a developer dependency. A regular dependency such as Angular.js and Bootstrap, is necessary to run the code. A developer dependency is only interesting for developers who want to make a build of the software. In other words, software ...

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