IMO You should not do unit testing for views. All you could test is what, 
that they look ok? Or they respond to app events? Or rather generate an app 
event, based on user input? While those cases are indeed valid, testing them 
by hand is very very easy. You should however have a Presenter/Mediator for 
that specific view, which acts in-between that view and the rest of 
application. It makes more sense to test that that presenter/mediator, 
making sure it works within app's context (generating events, responding to 
events).

But again, this is just my opinion.
My 2 cents,
Alex.

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-web-toolkit/-/XCww5sb_MAAJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to