- Spike and a New Workflow The other day I found myself writing a single test case the whole day without making a significant progress in the production code. It wasn't efficient at all and I wasted the whole day on stupid test cases - so it was time to ditch TDD for the rest of the weekend and try something different.
more...
- A Real Man Dares to Delete Code I have seen a lot during the last couple of years, but I have never seen a single developer who deleted working code. Writers are known to delete complete chapters, artists to start from scratch all over again, but for unknown reasons, developers just don't delete their code and start over.
more...
- Pair Programming in Retrospect I've been doing pair programming for two years now. During this period I gained a lot of experience, so it is time to do a little retrospective and organize these experiences. I hope that you find something useful here, or even better, you may start to do pair programming.
more...
- The Currency Format Kata A couple of days ago, I needed a function which is capable of printing out a certain amount in Hungarian currency format. At that time I found the implementation of this function challenging, so I decided to implement it on my own, without googling for an existing solution.
more...
- The Refactoring only Constraint Doing code kata is more fun with constraints. Once I heard about a very impressive one, but I was unable to find anything about it, so I decided to investigate and write about it on my own. The constraint is simple.
more...
- Testing the Stack Implementation I've created my own version of the exercise used during my first agile job interview in order to compare it to the result of the pair programming session of the job interview. The exercise was quite simple.
more...
- Measuring TDD I was cleaning up my old files and came across an old whiteboard shot, which reminded me an old small technique on measuring the amount of done Test Driven Development (TDD) work. In case of a less advance agile team, a usual discussion topic during a retrospective is TDD.
more...
- File Lottery Kata When I do some coding, I use test driven approach, have lots of fake and mock objects, and I use dependency injection for putting everything together. I usually don't work alone, and from time to time I have to introduce these methods to someone with less experience in this particular area.
more...
- Using Kata for Improvements I used to keep coding dojos for my colleagues, and it was sometimes very hard to find the right topic. I recently rediscovered the code kata - I did it earlier, but stopped after a short period -, and got an idea. I'm going to use it for discovering areas where our teams can improve.
more...
- One Step Back In Testing There are several advantages and disadvantages of Test Driven Development. In this post, I have no intention of repeating any of these, instead, I'd like to show a way to use TDD effectively while changing legacy code.### The ProblemHave a look at this legacy code:This code does not do much; it accepts two words separated with a space, and returns true/false depending on whether the words are equal or not.
more...