Hi Grant,

Thanks for your interest in the testing stuff.

Sorry I've not committed the cactus stuff yet. I need to get my thoughts together in an new thread that Sean can comment on because there will be additional build stuff in place (cargo to start/stop containers, packaging a new war file to distribute the cactus tests in etc.) and I want the changes to fit with Sean's continued vision of the build process.

In the mean time we could use mock objects. Although the class you refer to (ServletFacesContextImpl) is particularly hard to test because the lack of default config setup that happens during out of container testing.

I have a test for the Factory that could be used as the starting point of a factory setup so that the rest of the required stuff could be mocked for the facescontext impl. I will get that checked in asap (SVN appears to be down again).

TTFN,

-bd-

On Jul 20, 2005, at 11:36 AM, Grant Smith wrote:

Bill,

The current testing setup is great for objects that are container- independent. Any indication when we'll be able to test things that need to live in a container, like FacesContextImpl ? I assume we'll need cactus for that, although if you know of any tricks to test container-dependent objects, that would be valuable information :)

Another question for cactus gurus: is cactus portlet friendly ?

Thanks,
Grant


Reply via email to