TDD and the SOLID principles (Part 2: SRP)

August 26, 2011

Table of contents: Part1 – Indrocution Part 2 – SRP (this post) Part 3 – OCP Part 4 – LSP Part 5 – ISP Part 6 – DIP Part 7 – Conclusion   In the previous post I introduced the SOLID principles and their relation to TDD in general. And as promised, I’m diving into each of these principles and explain their relationships with TDD. The first principle, which I’ll be talking about in this post, is the Single Responsibility Principle or SRP in short. SRP is the...

TDD and the SOLID principles (Part 1 – introduction)

Table of contents: Part1 – Indrocution (this post) Part 2 – SRP Part 3 – OCP Part 4 – LSP Part 5 – ISP Part 6 – DIP Part 7 – Conclusion   Mastering TDD is a process that takes time. There are many pitfalls that “newbie’s” fall into. IMHO the following 2 reasons are the main ones: Thinking about the implementation before writing a test. That is, writing tests that are coupled with the implementation instead of with the problem...

Is Bug-Free Software Possible (or, Who Afraid of Change?)

August 11, 2011

Introducing a new methodology in an organization is an investment. As with all investments, you first see what you give up, and only later see what you get. As humans (and as any biological creature), it’s against our instincts, because the future is always more vague than the present, and so any investment feels like a risk (and in fact, it is always a risk, to some degree). Because investments are against our nature, we tend to make only small improvements to our existing practices. And because we’re afraid of big changes, we convince ourselves that our problems...

Introduction to FitNesse

August 2, 2011

No, I’m not going to tell you that fitness is very important to your health. I’ll leave it that your doctor. What I’m going to tell you about today is a tool called FitNesse (note the final ‘e’ which doesn’t exist in the word “fitness”. I don’t know what’s the reason they added this ‘e’ to the name, but it makes it somewhat easier to search for “FitNesse” in Google and get relevant results). Anyway, last time I told you mostly everything you need to know about ATDD, but I also promised to tell you about FitNesse, which...
one comment