Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Property-based test, shrinking » ?

Aussi appelé : property-based test · shrinking

Definition 30.6 University Computer Science — Year 3 · Chapitre 30 — Software Engineering: Design, Testing and Maintenance

A property-based test states a property that must hold for all inputs of a kind, and checks it on many inputs generated at random. Shrinking is the search, after a failing input is found, for a smaller input that still fails, so that the reported counterexample is as simple as possible.

Lire dans le chapitre →