Factories, not Fixtures

Factories, not Fixtures

For years, the most common way to provide test data for automated tests has been fixtures – hard-coded values, usually stored in text files.  For example, here’s some YAML-formatted data for a city model object: – model: city fields: id: 1 name: Los...
The Javascript Toolbox

The Javascript Toolbox

Developers using JavaScript and HTML to build rich web apps are creating a plethora of tools to compartmentalize the common and organizational aspects of coding.  This burst of open source energy has led to new categories of libraries like the MV* frameworks, and...