How to use external server in Unit testing

2 views
Skip to first unread message

jap

unread,
Oct 6, 2007, 2:19:04 AM10/6/07
to Google Web Toolkit
I have used the external server for developing by using noserver
option, Now i have a problem with Unit testing , How to use external
server in Unit testing . any help is appreciated.

AB

unread,
Oct 6, 2007, 9:45:14 PM10/6/07
to Google Web Toolkit
I am just getting started but it googling around, it seems a few
people are asking for a -noserver for the junit shell. At this point,
(I may be mistaken here), there is no way to get your GWTTestCases to
call back to your server (I guess the can call back to the built in
tomcat). I just stubbed the FooServiceAsynch stuff out which has its
upside anyway but It would be nice to have a testcase that could make
a real asynch call.

jap

unread,
Oct 9, 2007, 1:07:02 AM10/9/07
to Google Web Toolkit
Thanks for the reply,

I have few doubts .,

If no server mode is not possible in junit shell , how could we test
the RPC calls .
I think mock the sever can be possible (is there a only way !).
How could i test my filters and cache through GWTTestcases...

or these things are the hard limitations of GWTTestcase ?

Thanks in adv

Reply all
Reply to author
Forward
0 new messages