Tips on Unit Testing GWT Graphics

11 views
Skip to first unread message

zixzigma

unread,
May 17, 2011, 7:32:17 PM5/17/11
to GWT Graphics
Hello,

Is it possible to unit-test an app that makes use of Gwt Graphics
library ?

can this be done in JUnit environment or HtmlUnit would be necessary
also ?

really appreciate if you provide some tips on the correct way to do
unit testing an app that uses gwt graphics

Thank You

Henri Kerola

unread,
May 18, 2011, 3:42:41 PM5/18/11
to gwt-gr...@googlegroups.com
Hi,

I haven't unit tested GWT Graphics (I know I should have ;). But there is some information about unit testing on GWT: http://code.google.com/webtoolkit/doc/latest/DevGuideTesting.html

-Henri

Dr Josef Karthauser

unread,
May 18, 2011, 4:04:22 PM5/18/11
to gwt-gr...@googlegroups.com

Hi,

I've been thinking about this too. There's a design pattern called 'Presenter First' (http://www.atomicobject.com/files/PresenterFirstAgile2006.pdf) which looks like it might help with gwt development in general. It's a refinement of MVP. One, of course, assumes that gwt-graphics itself is error free :).

Joe

Reply all
Reply to author
Forward
0 new messages