Skip to content

Glossary: Building with LLMs Basics

skipif

Also written: @pytest.mark.skipif

A pytest decorator, `@pytest.mark.skipif`, that skips a test when a condition is true. It lets a paid model test run only when you set an environment variable such as `RUN_LLM_EVALS`.

Where the book teaches it

Related terms

pytest