... I'm not sure if there is a substantial advantage of my scheme for DBs that change a lot. It might be a hole in the process. In any case, one possible...
John, Have you tried to using a mock object framework like nmock? I'm not completely sure what technology stack you're using but there should be a mock object...
This is a reminder that the XPSD meeting is this Thursday from 6 - 8PM. This week, Peter Merel will be conducting an "Extreme Hour". An Extreme Hour is an...
... http://interviews.slashdot.org/interviews/03/03/20/1348217.shtml?tid=126&tid=156 ... Hmm. More to the point, would Unix have labored through it's years of...
... DBs that ... about to ... That is more or less my current process ( sans the CompareDBtoMock tests you have described - replace that with tests against the...
Wonderful, Paul! Thanks much for the note. I'm still trying to wrap my head around true TDD (I'm starting to see it, and first-person accounts such as yours...
I'm doing TDD in PHP now, and I'm having some interesting grief. When I write a test and run it before stubbing out the function, PHP does not complain at the...
... It seems to this humble observer that Something Is Not Right if the test runner doesn't clean up after itself when a test fails. ... If I expect the...
Edmund Schweppe
schweppe@...
Apr 3, 2003 1:19 am
3792
... I second. Open up the test runner's source and grease the squeaky wheel. Then lose track of when you test for the non-existence of the stub and when you...
... To see if our expectations match the reality, if not we learn something, if it does we gain confidence. Best, Bill William E. Caputo ThoughtWorks, Inc. ......
... Can you express this expectation as a test? ... I've had this same thought all along, that checking the compiler output should give us confidence or prompt...
... Preemptive counter-troll disclaimer: I left one thought out of this paragraph. Yes, I had this thought all along. However, because it's a "human...
... Agreed, and thank you. Your comments caused me to tinker with phpunit a bit, and I discovered that my fundamental premise was false: missing stubs do, in...
... Perhaps, but I see them as the same. Tests give us a binary pass/fail. Compiling gives us a binary success/failure. Yes, compilation requires use to...
Hi all, I'm working with a huge ball of untested mud at the moment, and at times I feel like adding TDD is like a flea trying to tackle a bull. However, it is...
(I'm a reasonable newbie at this, so take my opinion with a very large grain of salt.) I've encountered a similar issue several times in the past few weeks. ...
Paul Christmann
gcpt-testdrivendevelo...
Apr 3, 2003 6:02 pm
3800
Sorry if I'm singlehandedly cluttering the list today... hopefully it isn't all noise. :-) Here's a quick postmortem of the past 30 minutes of development. I...
... That answers your question - you start from wherever you have some knowledge of what you want your application to do. If you absolutely know which data...
... Not at all. At least for me, you're providing me with something to do during an otherwise quite boring conference :) Three cheers to Wireless networking...
... Excellent thought! Start with what you know. THAT makes sense. Thank you. ... Here, kid, the first one's free...? :-) I haven't written any mock...
... The first part of the approach is the way I'd go: Get the UI tests passing with mock BO Get the BO tests passing with mock SO etc... However, there...
Hi David! ... Isn't it amazing how much of this stuff is so simple. ... Evil is always nice :) ... Ah, but only if you swap it in for all tests at the same...
... Okay, I just tried this, and, for lack of a better word, EWW! I can see how mock objects make sense, but as I've already mentioned, I'm wading through a...
... OH MAN. Okay, the bo->so object is publicly accessible, and can be set at will by the owner of the bo object. The brain powerup you just gave me here,...
... Well, looking through your description of what happens, that seems like an appropriate reaction. ... I'll try, but keep in mind I've got NO clue about PHP....
... I would recommend abandoning the mock object approach. It's too ambitious. Earlier you drew a picture of your system: ui <---> bo <---> so <---> DB How...
... I do similar things, but I think I'm atypical. I've arranged my suite and coded up little emacs macros so that I can (in effect) push particular tests onto...
... <gernlearner@y...> wrote: Comments below. Some reiterate a previous response.. but they're good points. ... Don't focus. Be a generalist. Learn some of...
Hey, guys, I bet you've never heard the question "Where do I start?" before! *sigh* Okay, here's the deal. I just finished a BDUF whiteboard session for a ...
... Follow your instincts to go TDD/XP/YAGNI (which I'd call Evolutionary Design). Work on the code for 2 hours. If you don't like the path you took, chuck...