Hi Chad, I don't think it'll work out of the box. That was one idea we had some time ago (support both an offline and online mode) but we've not done it yet. ATM, the issue you'll find is that JspTestCase overrides JUnit runBare() so that it calls the server side. So it won't work without modifications to the cactus framework code.
Thanks -Vincent > -----Original Message----- > From: Chad Woolley [mailto:[EMAIL PROTECTED] > Sent: 18 February 2004 05:39 > To: [EMAIL PROTECTED] > Subject: Convert JspTestCase to use mocks? > > Hi, > > Is it possible to convert a JspTestCase to use mocks, so that it still > has the same basic functionality, but does not require the container? > > This would be similar to migrating a CactusStrutsTestCase to a > MockStrutsTestCase. Has anyone done anything like this? > > Thanks, > Chad > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
