I'm trying to run tests from ant.

i've got the teskdefs junit and runservertests compiling i.e. ant no longer
complains about them.

I don't understand the url format

testURL="http://localhost:8080/apexutil/ServletRedirector?Cactus_Service=RUN
_TEST"

Also, should I'm not testing a servlet but should my test cases extend
ServletTestCase?

-----Original Message-----
From: Nicholas Lesiecki [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 4:34 PM
To: Cactus Users List
Subject: RE: testing simple connection pool utility in Jboss


Yep, it's perfect for that sort of thing.

What sort of pointers do you need?

Cheers,
Nick

-----Original Message-----
From: Douglas Campbell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 31, 2002 4:01 PM
To: [EMAIL PROTECTED]
Subject: testing simple connection pool utility in Jboss


Hello,

I've written a simple connectionpool utility which only runs in an app
server environment.   Essentially all it is is a pointer to the name of a
connectionpool created from within the standard jboss config file at
startup.

This is not a servlet/ejb/jsp.

it has two methods

void init(Properties p)
java.sql.Connection getConnection()

Is cactus suitable for testing this?

In general, given a class which requires an app server environment but is
not a server/jsp/filter/ejb, is cactus suitable.  If so I'd a appreciate a
few pointers.

many thanks
-doug

ps - I have looked over the apache/cactus site but may have missed pertinent
documentation.


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


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


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

Reply via email to