Hi, guys
i take a look at the doc of Cactus but it seems that the cactus could test only Servlet and EJB etc.
the issue is: if there is some independent tier(for example: Action class in Struts, or Service in OFbiz) in the application. the essential problem is that all these methods depent on the run-time context such as HttpSession, HttpRequest, etc. how can i perform the unit test? if anybody can provides some guide or frag of codes, i will really appreciate.
am i clear enough? :)
|
|