I was listening to another good Hanselminuets podcast - Understanding BDD and NSpec with Matt Florence and Amir Rajan. As always it was a good an informative show. Towards the end of the show one of the interviewees (I think it was Amir) explained why BDD is much better than TDD… by djclear904 … Continue reading TDD vs. BDD or why can’t we all just get along?
Last week I conducted yet another code review. While looking at the code I’ve noticed a lot of lines similar to If(x != null) and if(y < 0) all over the code. These lines were not “business related” but were put in the code to make sure that proper inputs were given to the methods. … Continue reading Don’t fix invisible bugs
I’ve been working hard the last six months teaching my teammates about unit testing, code reviews, SOLID, SCRUM and anything else I think we can benefit from. I feel lucky – for the most part they are open minded and accept my ideas and try them without prejudice, working this way has enabled better code … Continue reading Why you fail with TDD
Using Isolate.Invoke.Event enable event driven unit testing by invoking events on fake or “real” object. If you use events to communicate between parts of your application – it’s a feature you need to know and use. In the last couple of months I have been using it a lot but there is one wall I … Continue reading How to: Invoke events inside your production code using Typemock Isolator
A while back during a presentation on unit tests a member of the audience asked me a question I hope never to answer ever again - “So these unit tests you’re talking about, are they written by developers?” The reason I don’t particularly care for that question is that developers think that unit tests (and … Continue reading Why TDD is good for testers
The first time I've learnt about OOP Design Patterns was at a Software Engineering introductory course. Since then I had a growing feeling that there is something wrong in the way that the industry treats them. Don't get me wrong - those patterns exist so that developers wouldn't need to reinvent the wheel each time … Continue reading The Problem With Design Patterns