Hi Rada, I guess you mean pure Junit (i.e. no Cactus involved), right? If so, the answer is yes using Mock Objects (see http://www.mockobjects.com).
I would also recommend my book: JUnit in Action which shows both how to do it using an in-container strategy (Cactus) and using a Mock Objects approach (explaining when to choose one over another, etc). Thanks -Vincent > -----Original Message----- > From: radha devi [mailto:[EMAIL PROTECTED] > Sent: lundi 10 janvier 2005 06:15 > To: [email protected] > Subject: Can we test a servlet class using JUnit? > > Hi, > > Can we test a servlet class using JUnit? > > Thanks in advance > > rada > > > --------------------------------- > Do you Yahoo!? > Take Yahoo! Mail with you! Get it on your mobile phone. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
