Brian,

I would argue that Maven is the way to build turbine based apps..  It makes
life much easier, things like cactus integration is provided "out of box"..


Having said that, there are things I would like to use Mock objects for,
like testing sending emails, without actually sending them.  With  cactus
tests, I spam everybody with my email tests!

Would you be willing to add to the wiki on EasyMock?  Of share how you did
it?

Sincerely,
Eric Pugh

-----Original Message-----
From: brian janaszek [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2003 11:59 AM
To: [EMAIL PROTECTED]
Subject: Testing -- Cactus v EasyMock


Howdy

I'm looking into a testing framework for a web app that's currently in
the design phase, and right now the choices have been narrowed down to
Cactus and EasyMock.  I've read through the comparision document on the
Cactus site, and I've attempted to write some simple tests in both
frameworks, and here's where I am right now:

Setting up Cactus to work with Turbine is a pain.  We're not using
Maven, so I've been trying to tweak the configuration to get the tests
running, but I haven't had much success.  The HOWTO on the wiki was very
helpful in writing my test case, but I'm still feeling a little lost
trying to configure Cactus.  Has any further work been done to integrate
Cactus with the TDK?  I've been trying to search the list, but one of
the archive links doesn't work for me (www.mail-archives.com) and the
other (archives.apache.org) often has problems when searching.

Is anyone using EasyMock with much success?  I've gotten much further
along with EasyMock, but it obviously has a bit more coding overhead for
the tests.  But otherwise, it seems to be a good choice for testing
screens and actions (and I'd assume I could also use it to test my
OM/Torque layer as well).  

What framework have people had the best luck with?

TIA
bmj


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

Reply via email to