fletcher.testing module

fletcher.testing.examples(example_list: List[Any], example_kword: str)

Annotation for tests using hypothesis input generation.

It is similar to the @example annotation but allows specifying a list of examples.

Parameters
example_list:

list of examples

example_kword:

which parameter to use for passing the example values to the test function

Returns
method:

wrapper method