... The scenario you are trying to avoid is that you could change the code and the test would not break. Under what circumstances could you refactor the ...
... code and ... refactor the ... In your example, you work from a green bar to a green bar. You do not refactor, but you generalize your code to do more than...
Dear Mr. Beck, I've got a few comments about 2/27/02 version of Test Driven Development By Example. On p19-20, I'm finding it a big strech getting comfortable ...
... Is it a semantics-preserving refactoring because it doesn't change the semantics from the perspective of the tests? Remember, there are two rules: * Test...
I would like to point you to the Money Exchange example on pages 50 and 51 in the latest draft (February 28). On page 51 the test "testAddition()" is called...
Hi, Kent, I love this book... read the first 23 pages from the first file uploaded (TDD070202.PDF) yesterday (couldn't get the newest because of Yahoogroups...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the testdrivendevelopment group. File :...
testdrivendevelopment...
Mar 6, 2002 2:49 am
142
First, my congratulations on an excellent book. I'll certainly be buying a copy when it's out - and making it strongly recommended reading for my team....
... the ... It is no refactoring, as it clearly changes the observable behavior of the code. Your tests still run after the change, but this is a sign of...
Hi, Kent, I've really found what you say about fear to be helpful... Here's a couple of things I'd like to add: Fear is contagious, just by itself. Fear is...
This version still goes straight into the concept of "Duplication between the code and test" immediately after the first assertEquals(). If I had never done...
... Yes, you're right. I thought of that, so I did a search for iff, to see if he had used it somewhere else. I didn't find it, so, since I was posting about ...
The point is well taken. Triangulation is more obvious than Fake It, and so should be first. The gesture can then be: "write this test, do the constant thing,...
Thanks for pointing me to the group Kent, I think a book on TDD is a great idea! It's a natural follow up to XP, and it truly is a great leap forward in...
"We only know how things appear to us, but of their inner substance we are ignorant." --attributed to Pyrrho ... No it doesn't. The tests are the only thing...
... Important point here that I'm going to ignore in my summary below. But it needs not to be ignored in the larger scheme of things. ... The thing is, the...
Hi Kent, ... behavior ... and from ... IMHO, replacing a constant with a calculation changes the observable behavior of the code, regardless of having tests...
Hi Ron! I think I met you once or twice many moons ago at one of the Smalltalk conferences -- I've certainly been a fan of your XP posts over on the XP group...
Unfortunately, Greg, your comments are on the part of the draft (Money) that has been completely replaced in the latest draft. Although the details change, the...
... I wasn't really lost, either. I could have gotten out of the rut with one more test. Maybe two. Okay, three, max. That's not the point. The point is that I...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the testdrivendevelopment group. File :...
testdrivendevelopment...
Mar 7, 2002 8:22 pm
160
I have uploaded a new version of the mscript. I tried the excellent suggestion to use Triangulate in the first chapter of Money and Fake It in the second...
Hi, Greg, ... <snip> ... and ... down ... I think Kent's conversational style is great, too. And so far, (I've only gotten to page 50) it's a very readable...
Hello, This email message is a notification to let you know that a file has been uploaded to the Files area of the testdrivendevelopment group. File :...
testdrivendevelopment...
Mar 7, 2002 10:43 pm
163
Hi, Kent, Here's my comments on the first 39 pages of the document. I spelled out my level of expertise in a previous post. For terms I didn't understand...
... You mean really really if I was just programming and not having 100 people looking over my shoulder? I would really really just implement equals the right...
... Ms Pupy, after this experience I shall forever look askance at books whose Acknowledgements only lists reviewers who already totally knew the subject cold...