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.
Property.onMinimalCounterexample()
Modifier and Type | Method and Description |
---|---|
void |
handle(Object[] counterexample,
Runnable action) |
void handle(Object[] counterexample, Runnable action)
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.© Copyright 2010-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu