Hi, I've bought into the tdd idea but I'm still a novice in actually practicing tdd. I've started a tdd learning project. After the first few steps I have...
Many similarities to my experience of TDD so far... Some notes upon reading your story: 1. You _don't_ have to test everything. Especially testing third party...
Olof Bjarnason
olof.bjarnason@...
Jun 1, 2009 2:18 pm
31146
Some good problems to work on as you learn TDD are the Euler problems: http://projecteuler.net/ You can also check out the bowling game kata: ...
Not much opportunity for refactoring... ... From: testdrivendevelopment@yahoogroups.com [mailto:testdrivendevelopment@yahoogroups.com] On Behalf Of Steven...
Martin, It sounds as though you're going along nicely. I'd echo Olof and say if you find new classes while refactoring, you don't need to create explicit tests...
Hi, ... How do you organize your test code? I like to separate the production code and test into different folders but in the same (java) package. Where do you...
Martin, ... Good questions. I have a separate .NET project for my test suite and a bunch of projects for my code (it will depend a bit on what architecture...
Just to add, There might come a point in time in which the number of test will become just too big to handle all of them in a single project. When that happens...
I'm seeing in this list and on twitter people - new to TDD - calling TDD something that's just "I'm writing automated tests" and most of times tests for old...
I'll rewrite some sentences I found awful when I read myself: I'm seeing people in this list and on twitter - people new to TDD - calling "TDD" something...
... I propose we now call it Spicy Barbecue Chicken Wings (SBBQCW). It bears no relation to anything except the fact that I happen to like spicy barbecue...
Hi Adam, I propose we now call it Spicy Barbecue Chicken Wings (SBBQCW). It bears no ... What's next? An acceptance test tool called Cucumber? Then again, my...
2009/6/3 Osias Jota <osiasjota@...> ... In the Michael Feathers "Working Effictively with Legacy Code"-sense you mean? I ... -- twitter.com/olofb ...
Olof Bjarnason
olof.bjarnason@...
Jun 4, 2009 6:51 am
31157
... Except that we don't write tests so that we can refactor. It is at best a tertiary reason. In the context of TDD we write tests so that we have an...
... Um, that is not strictly true ;) While I think it is hard, I do tend to try at least to write tests to be able to refactor legacy code. (but in 90% of the...
Olof Bjarnason
olof.bjarnason@...
Jun 4, 2009 7:52 am
31159
On Thu, Jun 4, 2009 at 12:50 AM, Olof Bjarnason ... Really? You write tests /so that/ you can refactor? There isn't a more significant reason underlying that?...
... OK I'll try to explain in a little more detail. <--- Say the system has close-to-no-tests (a common situation sadly..). A so-called legacy-system. And I am...
Olof Bjarnason
olof.bjarnason@...
Jun 4, 2009 8:44 am
31161
... My point is that your test is not driving your refactoring. Your test is driving your bug fix. It might be driving your design/development but it is not...
... Well, wasn't that the point of the new acronyme? Some way to say "I want to do TDD but I'm working legacy code and won't get there for a while." Especially...
... Just to throw some more confusion into the mix -- I've found that to newcomers to TDD, calling it Example-Driven Development (EDD, I guess) seems to...
... +1. I think the TDD/BDD camps should make a compromise and call it EDD, I think that speaks up a lot more to what we are doing. I keep thinking of TDD/BDD...
Olof Bjarnason
olof.bjarnason@...
Jun 4, 2009 11:06 am
31165
... Didn't read it yet, but I think I can say yes. I'm working with a lot of legacy code in the last months. ... mmm... I was not thinking about making them...
This is like the abortion debate. Instead of concentrating on the pragmatic we instead argue on when a test should be conceived. The issue with TDD is you need...
Um, trim out lines please? This is extremely tiresome to read message after message of everything quoted and lines getting broken up and having to scroll way...
... I suppose that it might be useful. However, I still don't like "TDR". Tests may "drive" my design but they don't "drive" my refactoring. My refactoring is...
... I like that. However, I prefer the term "Specification" as the BDD folks say rather than "Example" since there is generally more to a test/spec than just...
... I don't think we are arguing about when the tests should be conceived. The definition of TDD is precise and fairly well understood. It hasn't changed since...
Sometimes I'm doing sort of Test-Driven Refactoring, but in a different sense. This is when I write an integration test first, make it pass with a quick and...
Hello, I am working on a project to introduce unit testing in order to refactor and hopefully improve the actual codebase which is quite old, large and messy....