????1.3 JFCunit?????????

????JFCUnit—SourceForge.net—Eclipse??????—????·??(jfcunit.jar??jakarta-regexp-1.2.jar{???????java?????????????????jfc????????})

????1.4??????????

????JFCunit???????Junit?????к???????????????????

????1.4.1 JFCUnit???????????÷??

??????setUp()??tearDown()

??????junit?????????????????????????????????

????setUp()???????????????????????????????????????????

????tearDown()??????????????????????????????????????

???????????????-->setUp()-->testXXX-->tearDown()-->???????

??????Find-Component

????JFCUnit?ж?????????????????????????????????find...Component???API?????.?????????????????????棬?????????”Name”??????????е?Index??

PublicComponent find(final Container cont??final int index){
returnfind(new Container[] {cont}??index)??
}

??????assert????

assertNull(Stringmessage??Object object)??
assertNotNull(Stringmessage??Object object)??
assertEquals(Stringmessage??Object expected??Object actual)??
assertTrue(Stringmessage??boolean condition)??
assertFalse(Stringmessage??boolean condition)??
assertSame(Stringmessage??Object expected??Object actual)??
assertNotSame(Stringmessage??Object expected??Object actual)??

??????JFCTesthelper??TestHelper

????JFCTesthelper???TestHelper?к?????????????????????????

????1.5 JFCUnit?????--GUI??????

???????????????????????????????????????3.0?????????????ó??????????磬????????google???ЩJFCUnit?????£?д??????????????

????JFCUnit????http://www.ltesting.net/ceshi/open/kydycsgj/2007/0525/5733.html

???????JFCUnit????GUI??????? :http://www.blogjava.net/wukaichun600/archive/2006/10/19/76026.html

?????????????google???1??2??????????google??????????????????????????????????????????鱾?????????????(google??baidu)??Internet????????????????????????Ч???????????????????????????

????????:?????δ??????????????????????????????????????????????????????????????

???????:?????????????????????????????????????????Ч?????????????????????????????????????????????????δ??????????Щ??????????????м?????????????????????????????????????

????1.6JFCUnitXML??????

????JFCUnitXML???????????XML?????????????XML??????Swing???Swing???????????????:

????JFCUnitXML??????????дXML?????????????????????????????????????XML?????????????????????????????????????