Recently, I shared a simple 8-step procedure with my team which outlines some of the general questions I tend to ask myself when writing tests, even if, perhaps, only subconsciously so. While quite simple in form, and somewhat obvious in process, this procedure helps to develop a useful mental model from which practical steps can be applied to common testing… Continue Reading
Quick Tip: Backbone Collection Validation
Sunday, January 19th, 2014Often times I find the native Backbone Collection implementation to be lacking when compared to it’s Backbone.Model counterpart. In particular, Collections generally lack in terms of direct integration with a backend persistence layer, as well as the ability to validate models within the context of the collection as a whole. Fortunately, such short comings can easily be circumvented due to… Continue Reading
GitHub Quick Tip
Saturday, January 11th, 2014Recently, I was looking for a simple way to view an html page which is part of a GitHub project’s source. In particular, I wanted to provide links on the Backbone.EventBroker project’s main page so users could run the specs and view the example. Fortunately, as is the case with most things on GitHub, this is quite easy to accomplish;… Continue Reading
Clearing Web Notifications Permissions in Chrome
Tuesday, December 3rd, 2013
When implementing features which leverage HTML5 Web Notifications, specifically in Chrome, it can be rather convenient to have the ability to clear notification permissions from the host for which the feature is being implemented. As would be expected, Chrome allows for easily managing any setting; however, one needs to navigate through quite a few of Chrome’s settings in order to… Continue Reading
Simplifying Testing of Sign-up Processes
Thursday, November 14th, 2013When testing the various steps of account sign-up, creation and activation processess, one must be mindful of designs which call for unique email addresses to be confirmed for each new account. While this is a generally accepted approach, it does pose a slight challenge when end-to-end testing requires email activation from the address with which the account was created. Creating… Continue Reading
Function Modules in RequireJS
Wednesday, October 16th, 2013Having leveraged RequireJS as part of my preferred client-side web stack for some time now, I find it rather surprising how often I recall various features from the API docs which I have yet to use, and how they may apply to a specific solution I am implementing. One such feature is the ability to define a module as a… Continue Reading