Package org.junit.experimental.theories
package org.junit.experimental.theories
-
ClassDescriptionAnnotating an field or method with @DataPoint will cause the field value or the value returned by the method to be used as a potential parameter for theories in that class, when run with the
Theories
runner.Annotating an array or iterable-typed field or method with @DataPoints will cause the values in the array or iterable given to be used as potential parameters for theories in that class when run with theTheories
runner.Annotating a parameter of a@Theory
method with@FromDataPoints
will limit the datapoints considered as potential values for that parameter to just theDataPoints
with the given name.Annotating aTheory
method parameter with @ParametersSuppliedBy causes it to be supplied with values from the namedParameterSupplier
when run as a theory by theTheories
runner.Abstract parent class for suppliers of input data points for theories.The Theories runner allows to test a certain functionality against a subset of an infinite set of data points.Marks test methods that should be read as theories by theTheories
runner.