<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    gr8vyguy@Blogjava

    JUnit Best Practices

    Do not use the test-case constructor to set up a test case, use setUp().

    Don't assume the order in which tests within a test case run.

    Avoid writing test cases with side effects.

    Call a superclass's setUp() and tearDown() methods when subclassing

    Do not load data from hard-coded locations on a filesystem

    Keep tests in the same location as the source code

    Name tests properly

    Ensure that tests are time-independent

    Consider locale when writing tests

    Utilize JUnit's assert/fail methods and exception handling for clean test code

    Document tests in javadoc

    Avoid visual inspection

    Keep tests small and fast

    Use the reflection-driven JUnit API

    Build a test case for the entire system

    Test thread safety

    posted on 2007-04-24 11:07 gr8vyguy 閱讀(471) 評論(0)  編輯  收藏 所屬分類: Java

    <2007年4月>
    25262728293031
    1234567
    891011121314
    15161718192021
    22232425262728
    293012345

    導(dǎo)航

    統(tǒng)計

    公告

  • 轉(zhuǎn)載請注明出處.
  • msn: gr8vyguy at live.com
  • 常用鏈接

    留言簿(9)

    隨筆分類(68)

    隨筆檔案(80)

    文章分類(1)

    My Open Source Projects

    搜索

    積分與排名

    最新評論

    主站蜘蛛池模板: 亚洲精品中文字幕乱码三区| 国产精品亚洲二区在线| 亚洲视频小说图片| 亚洲第一成年免费网站| 久久久久亚洲AV无码去区首| 天堂亚洲免费视频| 综合在线免费视频| 亚洲精品久久久www| 亚洲国产日韩在线成人蜜芽| 亚洲s码欧洲m码吹潮| 国产成人精品一区二区三区免费| 精品久久久久久久久免费影院| 免费va在线观看| 亚洲欧洲国产成人精品| 成人免费视频一区二区| 毛片免费在线观看网址| 久久精品国产精品亚洲艾| 日韩国产欧美亚洲v片| 永久免费毛片在线播放 | 中文字幕免费不卡二区| 免费激情视频网站| 亚洲精品在线网站| 国产午夜免费高清久久影院| 国产精品四虎在线观看免费 | 亚洲精品国产精品乱码不99| 亚洲欧美日韩久久精品| 99精品视频在线观看免费专区| 亚洲精品无码你懂的网站| 亚洲日韩AV一区二区三区中文 | 久久99亚洲综合精品首页 | 18禁美女裸体免费网站| 国产啪亚洲国产精品无码| 美女18毛片免费视频| 国产精品麻豆免费版| 亚洲av成人一区二区三区在线播放 | 国产免费不卡视频| 亚洲综合色区中文字幕| 亚洲高清免费在线观看| 亚洲精品91在线| 一个人看www在线高清免费看| 亚洲国产片在线观看|