Author Archives: Duncan Butler

Unknown's avatar

About Duncan Butler

Trying to be a very agile software developer, working in C# with Specflow, Nunit and Machine Specifications, and in the evening having fun with Ruby and Rails

There Is No State Only Events

I had got to the next feature, “Get an existing basket”, this was going to be a simple save the basket on creation, load it by id, return 404 if not found type of blog post, I even had the … Continue reading

Posted in Programming | Tagged , , | Leave a comment

Adding An Id!

Ready to start again with Red? Looking back at our requirements next I see that the basket should have a unique id, at the moment I have no clue about where I am going to store the baskets so there … Continue reading

Posted in Uncategorized | Leave a comment

The First Test

We are at the point of writing our first test, but first lets review the whole test first pattern, that is the hopefully well known RedGreenRefactor although it seams to be well known I think there has grown up a … Continue reading

Posted in Programming | Tagged , | Leave a comment

A Bit of Up Front Planning

They do say that in Agile there is no up front planning, well I like to do a little bit, just so I know the direction I should set off, and the bit of space it gives allows me to … Continue reading

Posted in Programming | 1 Comment

Test First Development

Last time I wrote about how we are increasing the numbers of tests and how they are damaging our code.  Another problem we have that is stopping us getting the full benefits of refactoring code is the proliferation of mocks … Continue reading

Posted in Programming | Tagged , | Leave a comment

Too Many Tests

So here we are, there are now so many layers of tests that can be performed on a unit of code that even developers asking questions on stack overflow can’t keep them in line, is it a unit, iteration, functional, … Continue reading

Posted in Programming | Tagged , , , | Leave a comment

Team City PowerShell and Parameters

There are times when its really annoying, you get technology x up and running on your development machine and then try to integrate it into the wider enterprise system and fall at what is really the first hurdle, this has … Continue reading

Posted in Programming | Tagged , | 11 Comments

Mocks in Ruby and Zen Test on windows with Growl

These are notes mainly for me, so excuse the jumping around of topics in this post, I have been re-reading the book “Continuous Testing” by Ben Randy and Rod Coffin. The Twitter gem used in the first example has changed … Continue reading

Posted in Uncategorized | 1 Comment

Building the Right thing Right

Its what we developers aim for and what the business hopes for, doing anything else costs money both at the time of development and into the future with maintenance and the cost of change. A few weeks ago I introduced … Continue reading

Posted in Programming, Project Management | Leave a comment

SpecSalad and Tables

I started a new home project the other day, a small website and started to write the features that I wanted, now I knew that SpecSalad supported tables in the usual Scenario Outline format as I had used them when … Continue reading

Posted in Programming | Tagged | Leave a comment