Jason van Zyl wrote:
> 
> On 7/17/01 10:05 AM, "Johnny Cass" <[EMAIL PROTECTED]> wrote:
> 
> > Jason van Zyl wrote:
> >>
> >> Hi,
> >>
> >> Is anyone proficient with Cactus and HttpUnit. I have only looked at
> >> them briefly but before any more refactoring is done we need some tests
> >> for the sample app. These would be tests that could be used for any
> >> app developed with the TDK. I know there is some stuff in Jetspeed,
> >> does anyone know if it's functional. I always test the sample TDK
> >> app after making changes and I have scripts the testing I go through
> >> is tedious and I don't want to miss anything. So if anyone knows
> >> anything about these tools, or wants to learn, some code would
> >> be greatly appreciated.
> >>
> >> --
> >
> > I contributed the Cactus stuff to the Jetspeed project. There is one
> > test class (TestJLoginUser.java) available so far :(. It all worked just
> > fine the last time I tried it. Have a look at the way it is set up, it
> > should give you a fair idea of what is required to get it working for
> > Turbine.
> 
> Where is the code exactly?
> 

org.apache.jetspeed.modules.actions.TestJLoginUser.

In the build directory:

lib/commons-cactus-ant.jar contains the Cactus Ant tasks
lib/commons-cactus-22.jar contains the Cactus libraries for servlet 2.2
compliant engines
lib/commons-cactus-23.jar contains the Cactus libraries for servlet 2.3
compliant engines.

build-tests-22.xml contains the targets for the servlet 2.2 compliant
engines
build-tests-23.xml contains the targets for the servlet 2.3 compliant
engines

The various *test* targets in build.xml are used to create the test wars
and run the tests.

build.properties contain a few additional properties needed for the
tests.

Please note that Cactus 1.1 has since been released, the implementation
in the Jetspeed CVS is for Cactus 1.0.

I'm sure you will be able to come up with better ways to Cactus-enable
Turbine than I was able to manage for Jetspeed. Like you, I didn't
really have anybody else to consult or help out :(. I will be looking
forward to having a look at the Turbine / Cactus setup.

I just ran the *cough* test suite and it seems to work fine ;).

Regards.
- Johnny.

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

Reply via email to