jasmine

Jasmine Test Cases-Part 1: Unit testing JavaScript in Phonegap Application

Reading Time: 3 minutes For PhoneGap applications, we can write unit tests that evaluate our JavaScript logic to verify proper behavior in our apps using a number of tools, but these only test JS execution and logic. In this blog, I discuss some of the basics for writing JavaScript unit tests using Jasmine. Then, you can apply that information to writing and running JavaScript unit tests with Jasmine.