Re: Unit testing T5 pages/components

2008-08-01 Thread SergeEby

Hey,

I am running into the same problem. 
Since PageTester now accepts extra module classes, I tried using
SpringModuleDef.class but no dice.
Creating a separate module as shown in previous posts didn't work either :-(

Does anybody have a working example with T 5.0.13+?

Cheers,

/Serge


Toby Hobson wrote:
 
 Can anyone recommend a suitable testing strategy for T5 components - I've
 looked at PageTester which seems suitable but I'm injecting spring managed
 beans into my components and PageTester is unable to see them. I tried to
 Inject the beans manually using a setter on the component but PageTester
 still complains about being unable to find my beans.
 
 Thanks
 
 Toby
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Unit-testing-T5-pages-components-tp17306817p18774843.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]



Unit testing T5 pages/components

2008-05-18 Thread Toby Hobson
Can anyone recommend a suitable testing strategy for T5 components - I've 
looked at PageTester which seems suitable but I'm injecting spring managed 
beans into my components and PageTester is unable to see them. I tried to 
Inject the beans manually using a setter on the component but PageTester still 
complains about being unable to find my beans.

Thanks

Toby