All pages in tagged with #Unit Testing

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

Testing with Silex and PHPUnit

Getting started with unit testing using PHPUnit in your Silex project.

Monday Jun 30, 2014 — 2 minute read — 370 words

This took a bit to figure out, so I’m posting it here in hopes it may be helpful. I use the Silex microframework a lot, and love it. Setting up testing, though, can be a bit tricky if you don’t know what to look for. First off, the docs on the Silex site are great. They will definitely get you started, but they seem to be missing a couple of critical explanations that may trip you up.

Read More