People, I think this link http://dannorth.net/the-art-of-misdirection/ should interest you once Dan North uses the TDD to construct his argument. -- Abraços, ...
35194
MarvinToll.com
y153446
Jun 26, 2012 2:07 pm
There is another possibility... one could say something like... 'I don't like the API... and if you had approached it differently a more pleasing outcome might...
35195
Alan Baljeu
alanbaljeu
Jun 26, 2012 4:24 pm
"What would you consider a practical limit for refactoring based on a unit test... sounds like you get to a good outcome in less than six?" It's simple,...
35196
Alan Baljeu
alanbaljeu
Jun 26, 2012 4:28 pm
Hang on. You're saying you write a test describing a use of an object, then write the code, then change your mind about how you want to use this object? So...
35197
Edmund Schweppe
ed_schweppe
Jun 26, 2012 5:11 pm
+1 (even if somewhat belatedly) ... Edmund Schweppe ed@......
35198
Edmund Schweppe
ed_schweppe
Jun 26, 2012 7:15 pm
... I'm glad that you found developing that code to be significant (and, I presume, useful) to you. I further presume that you did not develop that code using...
35199
MarvinToll.com
y153446
Jun 26, 2012 10:26 pm
The evolution of this API included the following using 'loose sequencing39;: 1. Write a test with a presumed API. 2. Write the functional code. 3. Look at both...
35200
Alan Baljeu
alanbaljeu
Jun 26, 2012 11:46 pm
So in fact we are talking about designing the user interface of a library (users being other programmers). And concurrently spiking the implementation to get...
35201
Kay A Pentecost
tranzpuppy
Jun 27, 2012 12:02 am
Hey, Edmund, How are you? Thanks for calling out the single Assert and the fact that it can never fail. I think the first post I ever made to the XP list was...
35202
Edmund Schweppe
ed_schweppe
Jun 27, 2012 1:45 am
... [ snip ] ... I spotted four try-finally blocks, three of which appear to be identical except for the number of tasks. I'd probably first refactor the...
35203
Kay A Pentecost
tranzpuppy
Jun 27, 2012 3:29 am
Thank you!! Kay...
35204
Gishu Pillai
gishu_pillai
Jun 27, 2012 7:50 am
I read this a week or so ago. This is similar to the Lean Startup advice. The premise being you do not know what is required. So you make an assumption,...
35205
Russell Gold
russgold
Jun 27, 2012 9:08 am
... Really? I suppose it depends on what "just sketching something out" means. If he means, "do an informal object diagram" or "write a summary of the intended...
35206
MarvinToll.com
y153446
Jun 27, 2012 10:36 am
Thank you Kay... It was a chaotic road... and a fresh set of eyes is helpful... I'll get an updated posted this evening. _Marvin...
35207
MarvinToll.com
y153446
Jun 27, 2012 11:06 am
... hmmm ... anytime we design a method aren't we "storyboarding a GUI"??? Said another way, as we move from worrying exclusively about whether the execution...
35208
Josue Barbosa dos San...
josuebsantos
Jul 13, 2012 4:46 pm
In the last couple of months several online discussions took place about test first vs test last, code-to-test ratios or whether BDD is really just TDD. InfoQ...
35209
Roy Osherove
royosherove
Jul 14, 2012 9:01 pm
The premise was quite interesting - see the answers to interesting and important questions stacked up next to each other, and see the differences in how people...
35210
xxtommo54xx
Jul 17, 2012 9:27 pm
Hi, I'm new to tdd and i've read the book growing oo software. I'm trying to incorporate tdd into a sample project. Basically the project is an api that allows...
35211
Russell Gold
russgold
Jul 17, 2012 9:58 pm
Hi, Are you writing an app which acts as an http client? If not, it's not clear to my why you would want to test sending an http request. Assume that any code...
35212
jmilkiewicz@...
Jul 17, 2012 10:00 pm
Hi If i understand your use case correctly i would start with fake Http server. This way you could easily record its behavior - even if you decide to switch...
35213
xxtommo54xx
Jul 18, 2012 3:17 am
Basically i am supposed to send a message to keep a connection that has a timeout value alive. The message is dependent on the protocol being used i.e http,...
35214
Tim Ottinger
linux_tim
Jul 18, 2012 3:47 am
... It depends. Under what circumstances is it okay for your test not to pass? Do you want to run it when the server isn't running, or maybe when you're in a...
35215
Adam Sroka
adamjaph
Jul 18, 2012 5:56 am
+1 Put another way: perhaps your real system is not as free as you think it is. Anything that takes extra time or introduces uncertainty is not "free" in the...
35216
Osias Jota
osias_download
Jul 18, 2012 10:49 am
+1 ... -- Osias, o Osias...
35217
Esko Luontola
egeluontola
Jul 18, 2012 1:30 pm
... The people on this mailing list don't appear to do much end-to-end testing. It might be best that you ask your question on ...
35218
xxtommo54xx
Jul 18, 2012 3:51 pm
Basically i am supposed to send a message to keep a connection that has a timeout value alive. The message is dependent on the protocol being used i.e http,...
35219
xxtommo54xx
Jul 18, 2012 3:51 pm
Great thanks guys for all the resources/ideas....
35220
pierre masci
pamjou
Jul 18, 2012 3:51 pm
Hi Esko, i read the same book recently, and also found that it was hard to apply all these new ideas on a project : At each step there were so many questions,...
35221
John Roth
jhrothjr
Jul 18, 2012 4:31 pm
While I'm not familiar with the book you cite, I can give you my understanding of where at least part of that advice comes from. In the original XP, the advice...
35222
Gishu Pillai
gishu_pillai
Jul 19, 2012 5:51 am
The idea behind the walking skeleton is to mitigate risk early. e.g in the GOOS example, there were apparent risks to implementing the AuctionSniper : the...