I'm using the PageTester class to run some unit tests against my Tapestry pages 
- it's a fantastic little tool!

The problem comes when I hit a page that injects Spring Framework objects into 
my page (e.g. @Inject ("spring:someService")). This obviously blows up because 
there is no Spring WebApplicationContext defined. I have dummy implementations 
of my services defined in Spring, I just need to get access to them. 

So, my question... is there a way that I can get spring integration working 
within  PageTester? If not, then some thoughts...

1) Provide a way to configure PageTester to allow manually adding a Spring 
WebApplicationContext to the context so that the spring integration module 
works as is.

2) Provide a way for configure the spring integration module to allow testing 
to define an alternative bean factory to the WebApplicationContext.




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to