Re: [TFUI] Testing WinForms

"Stefan Lieser" <[email protected]> Fri, 6 Jan 2006 17:36:52 +0100
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <068b01c612df$6686b8f0$0cc8a8c0@slieser>
Hello Tony,

>> 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.

Agreed. I do it the same way.

> 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!

But I think you verify that the issued queries are correct?

> 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/

I knew the first part. Thanks for the links!


Sincerely,
Stefan Lieser



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/