> -----Original Message----- > From: radha devi [mailto:[EMAIL PROTECTED] > Sent: mardi 20 juillet 2004 06:22 > To: Cactus Users List > Subject: what are the different possibilities of calling a servlet class > > Hi > > To test a servlet, do I always need to create an instance of the servlet > or is there any other way to call the servlet. > > Is there way to call the servlet class through URL?
No! Cactus is about *unit testing* not about functional testing. We're not doing black box testing but white box testing. Think about how you unit test any POJO. You instantiate the class and then call the method do test. Same for Cactus. If you wish to write functional tests, do not use Cactus. You'll find better tools elsewhere. -Vincent --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
