we have now servletUnit tests in CVS: I managed to set up dependencies and a good test directory structure, and I added a first basic test case.
It works really well till now, tests are easy to set up and more complete than cactus tests.
 
I also commited some changes to the code to support user-configured RequestHelpers implementation and added a Websphere Portal Server implementation.
Everything works actually, but note it's still unfinished... exception handling for factory instantiation is still a todo, I wanted to commit the code now because I had to many changes here.
I had to change the previously used RequestHelper class and turn it to an interface, this will be added to documentation, hope nobody tried to subclass it (also because there was no way to use a different class in TableTag)
 
Between added dependencies there are 2 jars that can't be found in maven repository:
- tools.jar from the standard jdk (required by jasper)
- portlet-api.jar from jetspeed. I added this one in CVS since I couldn't find any place where you can download a pre-built jar. It seems that sources are available only through jakarta cvs and binaries are included only in WebSphere Portal Server 4 (please let me know if you find the jar somewhere on the web so that I can submit a request to maven for uploading it to ibiblio).
 
Let me know if everything works for you
 
fabrizio
 
 
 

Reply via email to