Category: Testing

Scenario testing for infrastructures

Recent advancements have allowed us to provision an entire environment with a single command. The next major challenge facing us is how to perform updates to environments, this gives rise to an additional set of challenges (and constraints) for our automated provisioning system. We’re working towards a provisioning system that […]

Read More

Exported Resources Considered Harmful

Our infrastructure automation is driven by Puppet, so this post is mainly going to talk about Puppet – however the key problem we have (and issues we’re solving) is equally relevant for most other current configuration management tools (such as Chef). One of the key challenges for configuration management systems […]

Read More

Mocking the proud

A mocking framework such as JMock provides a way of specifying and checking the interactions between an object under test and its collaborators, without having a full implementation of those collaborators to hand. However some prideful classes don’t like being mocked! Initially, when all we have is an interface specifying […]

Read More

Telling Stories Around The Codebase

This is a story that has been about a year in the making. It has now reached a point where I think the story needs to be told to a wider audience. At last year’s Citcon in Paris there was a presentation by Andy Palmer and Antony Marcano. They showed […]

Read More

Who will test the tests themselves?

A short while ago, a colleague and I were developing some JUnit tests using the jMock library, and came across some troubles while trying to start with a failing test. If you’re unfamiliar with jMock, the basic structure of a test looks something like this: @Test public void theCollaboratorIsToldToPerformATask() { […]

Read More

Adventures in Scala-based functional testing

We are in the process of creating a financial calculation library in Scala for one of our applications, and if there is one thing that is “really easy” for calculations, it is testing them… </sarcasm> Everybody likes to demonstrate simple examples of testing mathematical formulas using tools like JCheck/ScalaCheck or […]

Read More

Testing tools that (we heard about at CITCON Europe 2008) you might find useful …

Squirrel, Paulo and I recently attended CITCON Europe 2008. Apart from meeting, discussing and solving problems with many experts in the field of continuous integration and testing, we also learnt about many testing tools. It was the first time I’ve heard of some of these tools, so I thought I’d […]

Read More

Extreme Ironing in Visual Basic

Extreme ironing looks like fun: take an ordinary activity and do it in strange places or under strange conditions or both. I felt a bit like an extreme ironist this week as I wrote a plugin for Excel in Visual Basic, surely one of the more unit-test-unfriendly languages out there. […]

Read More