All pages in tagged with #Ngmock


Writing Your First Unit Test with the Ionic Framework

A quick primer to get started with hybrid app unit testing.

Friday Jul 18, 2014 — 5 minute read — 865 words

Writing tests - both unit and functional tests, is key to the stability and maintainablity of any piece of software. HTML and JavaScript apps are no different. So we’ll cover a super basic overview of writing your first unit test for apps build with the Ionic Framework. While Ionic is a pretty cool framework, unit testing is mysteriously lacking as of the current release (1.0.0). Let’s hope that it starts shipping with skeleton tests out of the box.

Read More