Overview
Jasmine is a unit test framework for JavaScript.
In this instructor-led, live training, participants will learn the different features of the Jasmine framework as they unit test a sample Javascript web application.
By the end of this training, participants will be able to:
- Set up Jasmine with Grunt and Node.js
- Integrate unit testing into a continuous integration process
- Mock dependencies, use asynchronous specs and add plugins
Audience
- Developers
Format of the course
- Part lecture, part discussion, exercises and heavy hands-on practice
Requirements
- Javascript application development experience
Course Outline
Introduction
- Unit testing in Javascript
Jasmine overview
Setting up the test environment
Testing an application
Mocking dependencies
Asynchronous specs
Reporting and logging
Debugging an application
Refactoring your application
Working with plugins
Closing remarks