Skip to content

Glossary: Python Beyond the Basics

parametrize

Also written: pytest.mark.parametrize

A pytest decorator that runs one test several times, once for each value in a list, such as four bad amounts passed to `money()`.

Where the book teaches it

Related terms

pytestdecorator