Chapter 7. Unit Testing the Cordova App's Logic
In this chapter, you will learn how to develop JavaScript unit tests for your Cordova app logic. In this chapter, you will:
- Learn the basics of the Jasmine JavaScript unit testing framework
- Use Jasmine in order to test both synchronous and asynchronous JavaScript code
- Utilize Karma as a powerful JavaScript test runner in order to automate the running of your developed Jasmine tests
- Generate test and code coverage reports from your developed tests
- Automate your JavaScript tests by integrating your developed tests with Continuous Integration (CI) tools