Test Oracle

http://en.wikipedia.org/wiki/Oracle_(testing)

以前看到這個術語, 不知道他是什麼意思, 也沒花時間出查, 只是略過而已.

想說它應該是指測試時所要用到的資料吧, 因為看到是oracle, 或許應該跟資料庫有關, 後來真的動手去查了一下, 才發現自己還真的很無知

在wiki說, test oracle是指測試人員確認測試是否通過的方法或機制. 常見的方法有哪些呢:

- specifications and documentation
- other products (for instance, an oracle for a software program might be a second program that uses a different algorithm to evaluate the same mathematical expression as the product under test)
- an heuristic oracle that provides approximate results or exact results for a set of a few test inputs
- a statistical oracle that uses statistical characteristics
- a consistency oracle that compares the results of one test execution to another for similarity
- a model-based oracle that uses the same model to generate and verify system behavior
- a human being's judgement (i.e. does the program "seem" to the user to do the correct thing?)

此外它還附了很多參考文件, 有興趣大家可以去看看

arrow
arrow
    全站熱搜
    創作者介紹
    創作者 kojenchieh 的頭像
    kojenchieh

    David Ko的學習之旅

    kojenchieh 發表在 痞客邦 留言(0) 人氣()