List/Grid Tag Archives: Testing

Getting Started with Amazon Web Services and Fully Automated Resource Provisioning in 15 Minutes
While waiting for a new project, I wanted to learn something useful. And because on many projects we need to assess and test the performance of the application being developed while ...

Some Definitions – Testing Techniques 9
I think that I’m coming to the end of my series of blogs on testing techniques, and it feels like it’s been along haul. One of the things that has become clearer to me is that approaches ...

Why You Should Write Unit Tests – Testing Techniques 8
I’ve had lots of reaction to my recent blog on ‘What you Should Test’, some agreeing with me for varying reasons and others thinking that I’m totally dangerous for suggesting ...

More on Creating Stubs for Legacy Code – Testing Techniques 7
In my last blog, I talked about dealing with the badly behaved untestable(1) SitePropertiesManager class and how to create stubs by extracting an interface. But what happens when ...

Principles for Creating Maintainable and Evolvable Tests
Having [automated] unit/integration/functional/… tests is great but it is too easy for them to become a hindrance, making any change to the system painful and slow – up to the ...

Creating Stubs for Legacy Code – Testing Techniques 6
Any one who reads this blog will probably have realised that at present I’m working on a project that contains a whole bunch of legacy code that’s large, expansive, and written ...

The Three Ways to Work with Code
Obviously you read code more often than you write it. Nothing new here. This fact is brought up often when the need for clean code is discussed. Or when the merits of different programming ...

Unit Testing Using Mocks – Testing Techniques 5
My last blog was the fourth in a series of blogs on approaches to testing code, demonstrating how to create a unit test that isolates the object under test using a stub object. Today’s ...

Regular Unit Tests and Stubs – Testing Techniques 4
My last blog was the third in a series of blogs on approaches to testing code and discussing what you do and don’t have to test. It’s based around my simple scenario of retrieving ...

What Should you Unit Test? – Testing Techniques 3
I was in the office yesterday, talking about testing to one of my colleagues who was a little unconvinced by writing unit tests. One of the reasons that he was using was that some tests ...


