... Wait.. I'll try to imaging how this looks: (using vb-style pseudocode. Hope this is readable) ... // loop through each possible input: for currTestInput =...
David, I've been thinking of posting a related question for some weeks (the list archives don't seem to show this one having been addressed in great detail ...
... Owen, Given the simplicity of FileExists, coupled to the file system or not, are there any more motives you can share for why you prefer to create a new ...
As I posted my previous reply, I saw your last statement regarding exceptions and I agree, at that point endo-testing *is* required. Until that point, I...
Al, I have a similar set of code, but I keep it in a common superclass of all my executables: class Executable def self.inherited(subClass) at_exit do if $0 =~...
... Do you have a name you like to use for the repeated cycle of "getting legacy code ready for TDD" and TDD, applied one test at a time? David Saff...
... Carl, I see your point about the required tests, but is it normal to pick the tests **after** refactoring? I thought the test should be written before any...
Hi, Avi, ... I'm sorry to be the one to say, "you shouldn't get there if you've been doing TDD all along," which people have recently complained about on this...
... [snip] ... I think that the "number of tests before refactoring" question is mostly a matter of personal taste (and common sense to some degree). If I'm ...
Well, someone on this thread asked about "how did the code get this way?" Well, I have a partial answer, at least in my case. After maybe a week and a half of...
... Yeah, I just found this thread. I agree with you Charlie. I don't think that there's much different about doing TDD in legacy code except that you have...
Hi David, ... No, I don't... at least nothing more than "working with legacy code" [I can understand why people might want to call the whole thing TDD, and in...
hi nick, ... thanks for your question -- it gives me an opportunity to clarify what i was trying to say. a couple of things: - i wasn't advocating *always*...
Hi Owen, ... That makes sense, thanks for clearing it up for me. ... Yes, I can see that if a system is heavily dependant on the file system, there will be a...
Consider the following scenario (it's been discussed in a recent thread): While refactoring, we extract a collaborator class. Since it's been extracted as part...
You have my sympathy :-) p.s. what kind of feedback do you get from management after doing so much preperation work for so little "actual TDD work"? Do you...
100% I think I'm getting the idea. Thanks, - Avi ... to ... about ... as I ... and ... what ... are ... of ... need ... to ... (since ... etc). ... up ... take...
Whilst TDD may appear to create an overhead in terms of time, usually what happens is a re-assignment of time and hopefully a reduction in time..... ...
... I think that one thing that would help is allow special visibility for tests. When you are running tests, you shouldn't be restricted to production code...
... For our test factoring project ( http://pag.csail.mit.edu/~mernst/pubs/test-factoring-ase2005-abstract.html ), we manipulate the JDK and a Java codebase so...
Avi, There's a nice parallelism here, and it begins to bring in Michael Feather's 'method use rule' (posted here 7/14/05): "If you are going to use a method,...
I didn't bother justifying it to anyone. I just did it. I am expected as a computer professional to use my best judgement in getting my job done. If that means...
I am a technical recruiter and an extremely large and important client of ours has begun a big push towards Test Driven Devlopment. Almost every developer...
Eric, Ack. There was an essential bit of punctuation there that inverted the meaning of my phrasing. I wrote "This is using BCEL (don't: use ASM, I'm wiser...
... There is a Fitnesse Yahoo Group list: http://groups.yahoo.com/group/fitnesse The FIT and FIT-Library user lists are available from the respective ...