A vital part of any application is error handling. In one of our recent ReactJs projects we approached this by creating a component that wouldn’t render anything to the screen but could keep track of changes to state and respond accordingly. Here’s how… Continue reading “Generic error handler in ReactJs” »
Here’s something about how to create a filter plugin for the jquery datatables plugin and then test it using qunit.
I’m trying to follow john papa’s excellent angular design principles article. One aspect to this is setting up routes that resolve service calls that can immediately be called by controllers using the ‘controllerAs’ syntax. However, the question arises of how to test these? After trawling round loads of different articles, I’ve cobbled together a solution that works (for better or worse).
This is a little post about how I got some tests up and running on the YouTube v3 API in a Symfony application.
I’ve implemented the wonderful Hybrid Framework for Umbraco and got it upgraded to Umbraco 7. All good. But…as the site continues to grow and gets more complex, I’m feeling more and more scared of doing big development. This post looks at how I set up unit testing using NUnit, Microsoft Fakes and Moq. I used help from Andy Butlands post on using Microsoft Fakes, so kudos there!