Hi, How can I use the PageTester with the Spring integration? The problem is that when PageTester creates the registry it does not adds SpringModuleDef to the list of modules and all my Spring services are unavailable because of this. Extending the PageTester is not possible as well, so I cannot extend it and provide additional module (like the TapestrySpringFilter does), so I have to copy-paste the complete PageTester and add a line to include SpringModuleDef module to the list.
Are there any other ways that not include dumb copy-pasting? Just for clearness. How can I add an override to the services when running the tests? Creating AliasContribution's with the mode set to "test", right? But what to do if I want to keep my primary module clear of test services and keep all my test services in the test module inside the src/test Maven2 hierarchy (so they even aren't included in the release build)? -- WBR, Ivan S. Dubrov
signature.asc
Description: OpenPGP digital signature
