Lesson 8

Setting up Tests

WARNING: This module is deprecated and no longer receives updates. Protractor is likely being removed as the default from Angular applications and Protractor itself will likely stop receiving updates and development in the future. I would recommend checking out the Test Driven Development with Cypress/Jest as a replacement.

Creating a new application with testing configured


Lesson Outline

Setting up Tests

Installing all of the dependencies needed for testing and setting up all of the configuration files is a long and annoying process. If you were to try and set up a testing environment in Ionic just based on reading the Jasmine, Karma, and Protractor documentation you would probably be there for days.

Fortunately, we don't need to worry about that. Tests are now included in every project by default - if you're new to testing, you'll finally be able to start using all those .spec files spread throughout your project.


Thanks for checking out the preview of this lesson!

You do not have the appropriate membership to view the full lesson. If you would like full access to this module you can view membership options (or log in if you are already have an appropriate membership).