Generating Sample Data

Recently I’ve been thinking a lot about manual exploratory testing and performance testing, both of which require large sets of realistic test data.

On most projects we can’t use real user data for testing (due to data security rules) so instead I’ve come up with a few simple techniques to generate large sets of random, but realistic, sample data.

Dockerizing my Development Process

I’m a big fan of using Vagrant for development. I really like the approach of installing the framework, database and development tools on a project-specific virtual machine that can be shared with the other folks on the team.

But Docker is the shiny new toy that promises development / production parity, allowing infrastructure to be scripted alongside the code and run in these light-weight container thingy-me-bobs.

Does Docker live up to its promises? Is it time to evict the Vagrant? I’ve developed a simple web app to find out…

Regex Find & Replace

I repeatedly forget and rediscover this powerful technique for finding and replacing text.

I wanted to change the name of a CSS class across a large codebase. A simple approach would be to find and replace for all *.html files:

Introducing Penfold

I’ve convinced myself that .NET needs a new behaviour driven development library. Here are my simple demands:

Visual Studio Code Snippets

Over the years I’ve developed a number of snippets to help me write unit tests using the MSpec framework. After numerous requests from envious co-workers (actually one request from a mildly curious co-worker), I’ve open sourced them on Github.