Re: Test-driven development and code size

2007-09-26 Thread Ben Finney
(Joel, please preserve attribution lines on your quoted material so we can see who wrote it.) Joel Hedlund <[EMAIL PROTECTED]> writes: > My presumption has been that in order to do proper test-driven > development I would have to make enormous test suites covering all > bases for my small hacks b

Re: Test-driven development and code size

2007-09-26 Thread Fredrik Lundh
Diez B. Roggisch wrote: > Sounds good to me. IMHO there are two ways one gathers tests: > > - concrete bugs appear, and one writes a test that reproduces the bug & > eventually after the fix runs smoothly > > - new features are planned/implemented, and the tests accompany them right > from the

RE: Test-driven development and code size

2007-09-26 Thread Ryan Ginstrom
> On Behalf Of Joel Hedlund > My presumption has been that in order to do proper > test-driven development I would have to make enormous test > suites covering all bases for my small hacks before I could > getting down and dirty with coding (as for example in > http://www.diveintopython.org/uni

Re: Test-driven development and code size

2007-09-26 Thread Diez B. Roggisch
Joel Hedlund wrote: >> test-driven development merely means that you take that test case and >> *keep it* in your unit test. Then, once you're assured that you will >> find the bug again any time it reappears, go ahead and fix it. > > My presumption has been that in order to do proper test-driven

Re: Test-driven development and code size

2007-09-26 Thread Joel Hedlund
> test-driven development merely means that you take that test case and > *keep it* in your unit test. Then, once you're assured that you will > find the bug again any time it reappears, go ahead and fix it. My presumption has been that in order to do proper test-driven development I would have t

Test-driven development and code size (was: What is a good way of having several versions of a python module installed in parallell?)

2007-09-25 Thread Ben Finney
Joel Hedlund <[EMAIL PROTECTED]> writes: > Do you also do [test-driven development] for all the little stuff, > the small hacks you just whip together to get a particular task > done? My impression is that doing proper unittests adds a lot of > time to development, and I'm thinking that this may b