¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date
Re: [TDD] first example violates TDD?
Value Object and Immutable are the same pattern, near as I can tell. The point is that you are using objects in a degenerate way, like values, not like things whose state changes over time. You are
By Kent Beck <kentbeck@...> · #20 ·
Re: [TDD] Extra test needed? gosh.
Around Monday, February 11, 2002, 4:51:30 AM, Dierk.Koenig@... wrote: While what Dierk and Edward are saying is one good way to go, I think it's not the only way to go. The programmer already
By Ron Jeffries · #19 ·
Re: [TDD] Extra test needed? gosh.
edwardhieatt wrote: I suppport this point. We could start by passing back a second constant, selected by "if". The driving force for the replacement would be rule No. 2 "remove duplication". Two
By Dierk.Koenig@... · #18 ·
Re: [TDD] Extra test needed? gosh.
edwardhieatt wrote: I suppport this point. We could start by passing back a second constant, selected by "if". The driving force for the replacement would be rule No. 2 "remove duplication". Two
By Dierk.Koenig@... · #17 ·
Extra test needed?
Hi all - I like the book very much. Here's a worry I have: the top of page 15 where we have a test that runs because we've hardcoded the "10". Then we replace "10" with "5*2", and then replace
By Edward Hieatt · #16 ·
Re: [TDD] One Test for the Road
little typo p. 34 "Note also that [we] are using...] cheers Dierk
By Dierk.Koenig@... · #15 ·
Re: [TDD] One Test for the Road
That NullPointerException thing. Well, Java is not really elegant here, but to me it is good software craftsmanship not to throw misleading exceptions. I would
By Dierk.Koenig@... · #14 ·
Re: [TDD] this time for sure
This time for sure p.27 assertEquals(new Money(10/5,"CHF"),francs); I always try to avoid calculations in the expected values like the 10/5 here. It does an implicit "floor" when converting to int,
By Dierk.Koenig@... · #13 ·
Re: [TDD] examle, with design, really
That is great! Showing how the process begins to smell while the code entropy rises. This is really useful, for the reader can detect this situation at work. The closing paragraphs follow the
By Dierk.Koenig@... · #11 ·
Re: [TDD] formatting italics to bold
Source code changes are in italics I would rather prefer bold (like in the Refactoring book) for better readability. cheers Dierk
By Dierk.Koenig@... · #10 ·
Re: [TDD] examle:money
to-card on the right: great idea! excellent visualization! Add and Subtract acceptance test: Why does "Add" return Dollar, while "Subtract" returns Pound? "Add USD 5 to GBR 5 .." maybe "Add GBR 5
By Dierk.Koenig@... · #12 ·
Re: [TDD] my logic
Todo Learning when not to test. when asked what I need to test, my usual answer is: "my logic" stressing both words "my" means - not to test third party packages - not to test my db's sql engine by
By Dierk.Koenig@... · #9 ·
Re: [TDD] qa
Preface QA can shift to proactive work ?? Sorry, I cannot think of any. What would be an example? cheers Dierk
By Dierk.Koenig@... · #8 ·
Re: [TDD] more comments
Whether == works instead of "equals" depends on the JDK's implementation of "String". Most impls have a maximum number of chars for this, so "CHF"=="CHF" may be true, but "Indian Rupees"=="Indian
By Dierk.Koenig@... · #6 ·
Re: [TDD] first example violates TDD?
Hiall, Frank pointed me to this group and I'm sorry to start with a rather compelling statement: IMHO the example violates the rules of TDD as I understood them. The example starts with two design
By Dierk.Koenig@... · #7 ·
more comments
first impression: it's sharpened up a lot recently. - Preface "(You'll have to work on grumpiness...)" - should be separate bullet point "4WD" -> "4 wheel drive" (for those with english as a second
By Steve Freeman <steve@...> · #5 ·
more
I'll try to save a few up this time. Might not succeed, I'm getting tired. ========= The rate creation on pp 24ff is /profound/. It's something that I have never seen anyone but you do. (Others may
By ronaldejeffries <ronaldejeffries@...> · #4 ·
If this seems crazy, just do it
Just reacting while things are fresh. Get over it. This is how I think. You're telling people (repeatedly) that if this seems crazy, don't do it. Maybe I'm too extreme, but remember etudes.
By ronaldejeffries <ronaldejeffries@...> · #3 ·
nit just to get ball rolling
Can success be far behind? No, or this would be a mighty short book. Do you mean "yes"?
By ronaldejeffries <ronaldejeffries@...> · #2 ·
New file uploaded to testdrivendevelopment
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 : /TDD070202.PDF Uploaded by :
By testdrivendevelopment@... · #1 ·