Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Property-based test, shrinking?

Também chamado de: property-based test · shrinking

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

Ler no capítulo →