Re: [TFUI] Re: comments on my first chapter
Phlip <[email protected]> Fri, 21 Apr 2006 09:04:22 -0700
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
Carl Manaster wrote:
> > The sentence "Write failing tests, and briefly make them pass" might
> > better say "quickly make them pass." Briefly connotes that they only
> > pass momentarily. I hope for better from my own ...
>
> I respectfully disagree.
It's Ron. Don't be redundant. ;-)
> I don't have the chapter in front of me, so
> I'm operating strictly off the quote here
http://flea.sourceforge.net/TDD_in_a_nut_shell.pdf
>, but what it suggests to me
> is Fake It Til You Make It, and I think that's a powerful concept to
> have in the toolkit - one not suggested by "quickly". Put the code in
> place to get past this test to get you in shape for refactoring and
> the next test, so you can stay green, even knowing that the code you
> write is just throwaway scaffolding.
One FAQ about TDD is "it's taking me too long to pass the tests". It
should only mean you make a few edits to pass the test. If you need to
research how to pass the test, you can do that in a sandbox without
tests. If your test case is requiring too many edits, you should back
out and make a smaller test case.
There's no one adverb for this concept.
--
Phlip
http://www.greencheese.org/ZeekLand <-- NOT a blog!!
To unsubscribe, email:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/TestFirstUserInterfaces/
<*> To unsubscribe from this group, send an email to:
TestFirstUserInterfaces-unsubscribe-hHKSG33TihhbjbujkaE4pw@public.gmane.org
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/