Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Test oracle, property-based test?

Ook bekend als: test oracle · property-based test

Definition 12.7 University Computer Science — Year 1 · Hoofdstuk 12 — Program Correctness

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.

Lees in het hoofdstuk →