[TFUI] Re: [TDD] Unit testing windows forms

"Phlip" <[email protected]>
Newsgroups gmane.comp.programming.test-first-user-interfaces,gmane.comp.programming.test-driven-development
Message-ID <001101c51163$e4dc6250$0102a8c0@DF619121>
Kevin Lawrence wrote:

> Charlie Poole wrote:

> >  Another - specific to .NET - is to
> > create a UserControl
> > that encapsulates the interaction between several lower-level controls.
> > If you start
> > out trying to separate the two things, you'll most likely discover other
> > patterns yourself.
>
> Related to my other post - that's what I have traditionally done.
>
> > BTW, I hardly ever TDD the
> > presense or
> > location of controls. I've done it experimentally a few times and didnt'
> > see that it gave
> > me any benefit.
>
> I test the presence of controls - not because there might be a bug there
> but because the *act* of testing them gives me a useful API for future
> testing

Yay!

> and helps overcomes the concern that some people have about UI
> tests being fragile. When the UI changes, only the code in the API
changes.
>
>  > presentation logic
>
> That's the phrase I was looking for in my other post.

-- 
  Phlip
  http://industrialxp.org/community/bin/view/Main/TestFirstUserInterfaces



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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.