Todos los libros

Profesional

Apps Acerca de Coach Iniciar sesión Empezar a leer

Computer Science · Glosario

¿Qué es Test oracle, property-based test?

También llamado: test oracle · property-based test

Definition 12.7 University Computer Science — Year 1 · Capítulo 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.

Leer en el capítulo →