@Target(value=METHOD) @Retention(value=RUNTIME) public @interface Property
Mark a method on a class that is run with the JUnitQuickcheck
runner with this annotation to have it run as a property-based test.
A method marked with this annotation should be an instance method
declared as public
with a return type of void
.
Modifier and Type | Optional Element and Description |
---|---|
int |
maxShrinkDepth |
int |
maxShrinks |
int |
maxShrinkTime |
Class<? extends MinimalCounterexampleHook> |
onMinimalCounterexample |
boolean |
shrink |
int |
trials |
public abstract int trials
public abstract boolean shrink
public abstract int maxShrinkTime
shrink()
is true
public abstract Class<? extends MinimalCounterexampleHook> onMinimalCounterexample
© Copyright 2010-2016 Paul R. Holser, Jr. All rights reserved. Licensed under The MIT License. pholser@alumni.rice.edu