|
From: Nat P. <nat...@gm...> - 2007-09-12 17:00:28
|
On 12/09/2007, Mike Mason <mg...@es...> wrote: > Personally I've mostly stopped testing presenters -- tests thats essentially > say "presenter should copy data from view to business logic method" aren't > that useful, and my presenters tend to be pretty small. I now mostly implement presenters as reflective mappings. Similarly to how an object/relational mapper maps objects to/from a relational database, my presenters (object/view mappers?) map objects to/from GUI components. Those are not boilerplate code and are covered by a lot of unit tests as well as the end-to-end tests. --Nat |