Re: T5: best approach in testing a service

2007-12-21 Thread Davor Hrg
then you should definitely checkout tapestry sorce and look at the tests there :) Davor Hrg On Dec 21, 2007 10:12 AM, Angelo Chen <[EMAIL PROTECTED]> wrote: > > Hi Davor, > > yes, i have read the doc, i still have to try the samples. in the service > that I'd like to build and test, it is part o

Re: T5: best approach in testing a service

2007-12-21 Thread Angelo Chen
Hi Davor, yes, i have read the doc, i still have to try the samples. in the service that I'd like to build and test, it is part of a web application, in addition to hibernate, it also uses other serivices like request, ApplicationGlobals, etc, so I'd like to know how to unit test this kind of ser

Re: T5: best approach in testing a service

2007-12-21 Thread Chris Lewis
You could also consider checking out the source code (at least for tapestry-hibernate) and looking into its testing suite. If I remember correctly, it also does what you want to do, which may very well be the same as what Davor posted. sincerely, chris Davor Hrg wrote: I've recently posted t

Re: T5: best approach in testing a service

2007-12-21 Thread Davor Hrg
I've recently posted two examples off running tapestry-ioc on it's own http://wiki.apache.org/tapestry/Tapestry5HowToIocOnly http://wiki.apache.org/tapestry/Tapestry5HowToIocAndHibernate look there on how to start tapestry-ioc with only the things you need. Davor Hrg On Dec 21, 2007 8:50 AM, An

T5: best approach in testing a service

2007-12-20 Thread Angelo Chen
Hi, If I am writing a service which does not require any other tapestry modules, I can simply use TestNG to do some testing on the class, but if the service requires Tapestry-hibernate, then how can I test it? I have to start from a page then goes to the service using pageTester? thanks for shar