A test oracle is a procedure that decides whether an output is correct for an input: a check of the postcondition, or a comparison with a simpler program known to be correct (a brute-force or library version). A property-based test states a property that must hold for all inputs of a kind, generates many inputs at random, checks the property on each, and on a failure reports a smallest failing input it can find.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Test oracle, property-based test?
又称: test oracle · property-based test