Skip navigation.

Archives

Test Code Must Be As Solid As Dev Code

All good development projects follow certain basic practices to ensure code quality.  They use source control, get code reviewed, build daily, etc.  Unfortunately, sometimes even when the shipping product follows these practices, the test team doesn't.  This is true even here at Microsoft.  It shouldn't be the case, however.  Test code needs to be just as good as dev code.

Quick Thought About The Law Of Demeter

I have a data source (it’s a spread sheet). I want to test that my system reads it in properly and that the model is populated properly. Like a good object should, my key object knows how to populate itself from a Worksheet Object or a File. It’s the reading of the sheet I want to test. How can I do this without breaking the law of Demeter? I.e. without exposing the state of the object to the test client (Fit and NUnit in this case) via getters?

Trust + Realism - Two Essential Qualities For Successful Project Teams

Let's not get all gooey-eyed and touchy-fuzzy about it, but I'm reminded these last few days about the importance of two very different things:

1. Relationships, and
2. Physics

It's all too easy to take interpersonal relationships and how we interact with each other for granted on software projects. It's only when those relationships break down that we realise just

The Test Servant

If testing is a service, what does that make testers?

I’ve heard much about the definition of testing being a service to the project, or at least that this should be the definition of testing, and I agree. Most of this comes from what I’ve heard and read from James Bach and Michael Bolton as part of the Rapid Testing courses.

I’d like to extend this metaphor a step further though. What do you call the person who performs a service? The word service is tossed around so often in the software world that it’s lost a lot of meaning and is easy on the ears. Once the form is changed to “servant” though, you might get some interesting responses. “Me, a servant?”