Book Image

JavaScript Mobile Application Development

By : Saleh
Book Image

JavaScript Mobile Application Development

By: Saleh

Overview of this book

If you are a native mobile developer, with some familiarity with the common web technologies of JavaScript, CSS, and HTML, or if you are a web developer, then this learning guide will add great value and impact to your work. Learning how to develop mobile applications using Apache Cordova is of particular importance if you are looking to develop applications on a variety of different platforms efficiently.
Table of Contents (10 chapters)
9
Index

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