From: Guofeng Z. <guo...@vi...> - 2003-08-27 11:30:46
|
I am new to mock objects approach.=20 I guess that if the classes that the tested unit depends on could be = replaced by mock objects, I donot need to do the in-container test, that = is, I can only use JUnit framework , and do not need to use Cactus, to = do the unit test. Could anyone tell me if the decision is correct? Do anyone meet the = situation that the Cactus is still required to test some units even if = the mock object apprach is used or mock object approach cannot be used? thanks. |