Hi,
I have servlets in a web app having just synchronized service() method
having all the functionality to deal with Request. I want to know if
it is possible (or relevant) to write Cactus ServletTestCases for this
and if yes then how ?
Arne Vajhøj - 05 Apr 2007 01:46 GMT
> I have servlets in a web app having just synchronized service() method
> having all the functionality to deal with Request. I want to know if
> it is possible (or relevant) to write Cactus ServletTestCases for this
> and if yes then how ?
It is (almost) always relevant to unit test.
I would assume you just write a normal ServletTestCase
(it is relative easy in newer versions of Cactus).
It is still HTTP requests calling your service method right ?
Arne