[appengine-java] Re: How to best run GWTTestCase tests that involve persistence?

2011-06-23 Thread esorf
I have a pretty good solution for you, Christian, and anyone else trying to do this, ie GwtTestCase plus GAE test fixtures. First, create a myapptest.gwt.xml module file. module rename-to='myapptest' !-- Inherit base app. -- inherits

[appengine-java] Re: How to best run GWTTestCase tests that involve persistence?

2010-03-15 Thread Christian Schuhegger
Hi, I already have two types of tests. One type of test that separately tests the server side logic and the client side logic separately and independently and the second type of test that verifies the integration of both sides. I am also already using SyncProxy for some tests. The reason why I

[appengine-java] Re: How to best run GWTTestCase tests that involve persistence?

2010-03-14 Thread Trung
Hi, 1. I think the proper way is separating the test from QuestionServiceImpl. 2. For testing QuestionServiceImpl, you should run two separate parts: server side and client side. a) In your case, there are no special in the server side. b) In the client side, you can use GWTTestcase. Your test