Re: [TFUI] RE: TDDing Excel

Cory Foy <[email protected]> Thu, 20 Oct 2005 14:00:01 -0400
Newsgroups gmane.comp.programming.test-first-user-interfaces
Message-ID <[email protected]>
Phlip wrote:
> The legend is this:
> 
>  - the OnsiteCustomer writes all user stories as failing
>    acceptance tests before developers implement the stories
> 
> Of course I have never seen that in action, and I can't imagine the
> team dynamics required to put such a system online.

Not only that, but you run into issues where the Acceptance tests drive 
the design one way, while your TDD tests drive it another. There is a 
current thread on either the XP or TDD lists on that one.

Which is something to think about, especially as FITnesse becomes more 
mature in driving UI type interfaces. One of the ways of using FITnesse 
is to "Test-Drive" the UI, where the customer would do something like:

Open application()
enter user name("test")
enter password("12345")
screen should be("Itinerary")
screen should have permit("123678")
select permit("123678")
click cancel button()
screen should not have permit("123678")

(Each of those would be mapped automagically to methods like 
OpenApplication(), EnterUserName("test"), etc)

So, you might have a disconnect between your TDD (or BDD, or QDD) 
methods and your acceptance tests. Lessee, ah, I was wrong, it was on 
the Fitnesse list. Here's the article:

http://butunclebob.com/ArticleS.DavidChelimsky.DuplicationBetweenCustomerAndProgrammerTests

But, overall, I see FITnesse as something our BAs and PMs can use to 
verify behavior. Since a developer has to hook up the tests in the back 
end, you can get an idea of what is outstanding. We don't currently use 
it here (yet - I just inherited a nasty UI project that we're trying to 
clean up and then get under test since it has none at all) but am 
looking for to seeing how it fits in within our environment.

Cory



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/