[TFUI] newbie wants to understand TFUI with jemmy

"maraflux" <tammy-oQvIPzftt4dWk0Htik3J/[email protected]>
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Hi

So I am trying my first "hands on" experience with TFUI using jemmy and the (extended) 
example from Astels's "TDD: A Practical Guide," chapter 10. So what I have now, as far as I 
can see is a GUI that gets built by jemmy! My GUI doesn't exist in that I don't have an app 
to run with it's own GUI. Yet I have tests that build and test a GUI. Seems quite strange to 
me. 

I have yet to work through the other chapters, but I am guessing that I will slowly build the 
same GUI for the app that I use jemmy to build/teardown. This seems like duplication. It 
seems like a lot of extra work and the GUI tests will only be valid if I build the app's GUI in 
the same way that I instruct jemmy to build it in the tests. I know there is the interface and 
the MVC separation by passing the Editor/Controller the "view" and the "model" objects. 
But somehow, this feels contrived as far as testing the GUI... I mean the app technically 
has no GUI yet... do I really need to build/teardown a GUI to test the interface... isn't there 
a way to build the app's actual GUI and test it !!!

Anyway, can someone explain the logic in this approach to me in a manner that will make 
it less foreign and contrived to  me?!

tia



------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com.  Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
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.