jasmine

Basic Introduction to Unit Testing in Angular

Reading Time: 6 minutes What is Unit Testing? Unit testing is testing a unit in an isolated environment. A unit can be a class, component, service, directive module, etc. which can be logically separated from the software. Any unit in an app is not isolated, it’s quite normal that it will be depending on the other units in an application for resources like data or methods. So if we Continue Reading

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.