Re: [TFUI] Start simple
Tim Haughton <[email protected]> Thu, 29 Dec 2005 23:41:24 +0000
| Newsgroups | gmane.comp.programming.test-first-user-interfaces |
|---|---|
| Message-ID | <[email protected]> |
On 29/12/05, Ryder, Phran (Manchester _SDC) <[email protected]> wrote: > > Suppose I have a very simple form with a single button called start. After > clicking the button I want the button to be disabled. > > > > The test (Forgive me it is VB.net): > > > > [snipped ghastly VB] > > > At least that is the approach I have always taken. But if I want my Form > (or > dialog) to be humble the code disabling the button should be elsewhere - > or > so I have heard. > > So how would you do it? If that's all your form did, then there would be no need to go any further in respect to Humble Dlg/ MVP. The problem of these rather unrealistic examples is that they are....well....unrealistic. Most Forms that have any degree of complexity about them are better served by an MVP type architecture. Another point to consider is, how would you test your code from an acceptance tool like Fit? -- Regards, Tim Haughton http://agitek.co.uk http://blogitek.com/timhaughton [Non-text portions of this message have been removed] ------------------------ Yahoo! Groups Sponsor --------------------~--> Most low income homes are not online. Make a difference this holiday season! http://us.click.yahoo.com/5UeCyC/BWHMAA/TtwFAA/nhFolB/TM --------------------------------------------------------------------~-> 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/