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 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, Angelo Chen <[EMAIL PROTECTED]> wrote:
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 sharing your
tips,
A.C.
--
View this message in context:
http://www.nabble.com/T5%3A-best-approach-in-testing-a-service-tp14451674p14451674.html
Sent from the Tapestry - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]