Author Archives: Duncan Butler

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

Failed to build gem native extension on Windows

So there I was lovely new computer, I installed Ruby 193, old tests which needed it, don’t ask, and of cause the ruby dev kit, then a quick bundle install and I will be ready to go, but instead I … Continue reading

Posted in Uncategorized | 1 Comment

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