Package com.pholser.junit.quickcheck
Interface MinimalCounterexampleHook
- All Known Implementing Classes:
NilMinimalCounterexampleHook
public interface MinimalCounterexampleHook
Allows access to an actual failing example.
This may be useful if any of the objects' Object.toString()
representations is difficult to understand.
- See Also:
-
Method Summary
-
Method Details
-
handle
- Parameters:
counterexample- the minimal counterexample (after shrinking)action- work to perform with the minimal counterexample; for example, this could repeat the test using the same inputs. This action should be safely callable multiple times.
-