???????????°?к??в????

????White box testing means that you know the input?? you know the inner workings of the mechanism and can inspect it and you know the output.

????With black box testing you only know what the input is and what the output should be.

??????????????£?UT???в?????????????????????С????????????е??????????????UT????????????????????????????????UT???????????????????????????????????С?

???????????????????????в????????????????????????????С?

???????????????????????????????????????ж??в????????????????塣?????в?????????????????make sense??

?????????Щ??????“????????????????????????”???????????????????

?????????????????????в?????????????????????????????????????塣

???????cobertura???????????????κ???????????????????????????????ο???д??cobertura??????

????????????????е???mock???(???????developer??????????UT???????)

????????????EasyMock?????е????????

??????????????EasyMock??????????磬????????????????EasyMock?????????????mock???????

????Mocktio

????EasyMock??????е?mock?????????????????????????????????????????????????????????????????

????Mockito??????????UT??mock???????????????????mock?????

????PowerMock

??????????????????EasyMock??Mockito??????????????????????EasyMock??Mockito????????????

???????????PowerMock??????????????????????????????Щ????mock????

?????????ù?????????????????????????????????????????PowerMock?????EasyMock??Mockito????????á?

????????????????EasyMock??Mockito??

????Jmokit

????http://code.google.com/p/jmockit/

???????????????PowerMock?????????????????????????(????mock????????????????)??

?????ù???????PowerMock???????????????????PowerMock???????????????

???????PowerMock?? ????????????????????????

??????????Jmock???mock?????????????????????????Щ???Mock?????????MockFTPServer??

????????????????????~