RE: [TFUI] Testing WinForms
"Tony Nassar" <devl-Lwdbw0k85uEsit2GikarAgC/[email protected]> Fri, 6 Jan 2006 11:23:05 -0500
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
> How do you make sure that the data entered into a form is
> propagated to your business domain?
You don't, or, to be less dogmatic about it, you try not to. All you care
about is whether the Presenter *asked* the business layer to make this
change. I.e., you mock the model. Seriously! I know it drives some QA people
nuts to be told this, but c'est la vie. Right now I'm struggling to explain
to QA that I am not interested in testing the damned database. My code's
only responsibility is to issue queries. "Then how do you know that the
table was updated?" I don't know, and I don't care to know. I AM NOT TESTING
ORACLE!
I've used NUnitForms to do nearly everything I want on the GUI level; I have
not always been able to figure out how to fully test custom controls that
interact with the mouse in interesting ways, but that says more about my
limitations than about TFUI.
To paste something from an older posting:
Have you looked into John Robbins's stuff?
* http://msdn.microsoft.com/msdnmag/issues/05/01/TestRun/
* http://msdn.microsoft.com/msdnmag/issues/0600/bugslayer/
* http://msdn.microsoft.com/msdnmag/issues/02/03/Bugslayer/
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/