Skip to content

Fixtures and parametrize

Coming soon

Set up test fixtures and test many input cases cleanly with @pytest.mark.parametrize.

You'll be able to

  • Create reusable test fixtures with @pytest.fixture
  • Test temporary files safely with the tmp_path fixture
  • Run multiple test cases with @pytest.mark.parametrize

Coming soon

This lesson is being written. The Telegram channel announces new lessons as they open.