• <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>
    • 測試技術
    • 博客
    • 視頻
    • 開源
    • 論壇
    • 沙龍
    • 下載
    • 雜志
    • 招聘

    字號: | 推薦給好友 上一篇 | 下一篇

    改進自動化測試套件的可維護性(一)

    發布: 2008-2-03 13:31 | 作者: 李迅  | 來源: 51CMM | 查看: 114次 | 進入領測軟件測試網論壇討論

    領測軟件測試網

    FV)l+f7M&x 軟件測試技術門戶4L(WkhO+H

      Embedding constants in code is obviously foolish. But that’s what we do with capture utilities. We create a test script by capturing an exact sequence of exact keystrokes, mouse movements, or commands. These are constants, just like 2 and 3. The slightest change to the program’s user interface and the script is invalid. The maintenance costs associated with captured test cases are unacceptable.軟件測試技術門戶 `}-R[N_:H@C

    1W_~G4F,O2N#Hw]2B  在代碼中嵌入常量顯然是愚蠢的。然而,這就是我們用截取工具得到的結果。我們通過截取一段敲鍵、移動鼠標或者命令行序列來創建一個測試腳本。這本身就是常量,就好象2和3。于是,程序用戶界面的最微小的改變也會導致腳本無效。因此,與截取測試用例有關的可維護性開銷是不能被接受的。軟件測試技術門戶1H Yp,| GS }#CQg$t

    軟件測試技術門戶0J V!NW R2f

      Capture utilities can help you script tests by showing you how the test tool interprets a manual test case. They are not useless. But they are dangerous if you try to do too much with them.

    B~n/E 老湿亚洲永久精品ww47香蕉图片_日韩欧美中文字幕北美法律_国产AV永久无码天堂影院_久久婷婷综合色丁香五月

  • <ruby id="5koa6"></ruby>
    <ruby id="5koa6"><option id="5koa6"><thead id="5koa6"></thead></option></ruby>

    <progress id="5koa6"></progress>

  • <strong id="5koa6"></strong>