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.
书籍暂未推出简体中文版——当前显示英文版。
Computer Science · 术语表
什么是 Property-based test, shrinking?
又称: property-based test · shrinking