The Artima Developer Community
Sponsored Link

Agile Buzz Forum
Test Driven Development for Large Scale GUIs Agile 2007

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Mark Levison

Posts: 877
Nickname: mlevison
Registered: Jan, 2003

Mark Levison an agile software developer who writes Notes from a tool user.
Test Driven Development for Large Scale GUIs Agile 2007 Posted: Aug 20, 2007 10:50 AM
Reply to this message Reply

This post originated from an RSS feed registered with Agile Buzz by Mark Levison.
Original Post: Test Driven Development for Large Scale GUIs Agile 2007
Feed Title: Notes from a Tool User
Feed URL: http://feeds.feedburner.com/NotesFromAToolUser
Feed Description: Thoughts about photography, software development, reading, food, wine and the world around us.
Latest Agile Buzz Posts
Latest Agile Buzz Posts by Mark Levison
Latest Posts From Notes from a Tool User

Advertisement

On Wednesday morning I attended Steve Miller’s (Atomic Object) – Presenter First Test Driven Development for GUIs. Steve presented an interesting approach to remove complexity from view and place it in a class called the presenter. The view and model are represented in the presenter via interfaces. The presenter contains only flow logic and can now be easily tested since the view and model can be mocked. Any time the view reaches any level of complexity you break out another small presenter.

In theory this all sounds appealing however after a little study I think my GUI code would grow by 30–40% to gain the benefit of TDD. I coming to think that we’re better off ensuring coverage through the acceptance tests and ensuring the absolute minimum amount of code in the views.

Read the original paper: Presenter First: Organizing Complex GUI Applications for Test-Driven Development and see if its for you.

This builds on the work of Michael Feathers “The Humble Dialog Box” and Martin Fowler’s “Model View Presenter” (now retired) – replaced by: Supervising Controller, Passive View and Presentation Model. My personal leaning is towards the Supervising Controller.

If you enjoyed this post, subscribe now to get free updates.

Read: Test Driven Development for Large Scale GUIs Agile 2007

Topic: Patched Release of CI Factory 0.8 Previous Topic   Next Topic Topic: Cincom at LASTUG

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use