« Career advice in convenient comic book form | Main | Pimp My Library: 5.minutes with the Time And Money Library »

February 16, 2009

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

Nat

Also see http://www.jmock.org/gwt.html

Marco Magdy

Thank you so much! this was driving me bananas!

Gael

Instead of mocking your widget, You could considere the gwt-test-utils framework which enable you to run your GWT client-side code in a standalone JVM.

It runs very fast in comparaison of GWTTestCase and you're not restricted to use the GWT classes white list ! For example, you can use reflection in your test to get private field within your custom widget if necessary, use EasyMock or Mockito, etc !

More information here : http://code.google.com/p/gwt-test-utils/

Daniel Wellman

@Gael - This is an impressive project, thanks for sharing!

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.

Your Information

(Name is required. Email address will not be displayed with the comment.)