Skip to content

How-To Guides

These guides assume you have completed the Tutorial and have a working record-replay setup. Each guide solves one specific task.

Guides

When to use a How-To guide

How-To guides are for specific tasks. If you are new to the plugin, start with the Tutorial instead. If you want to understand why the plugin works the way it does, see the Explanation articles. If you need exact values (defaults, types, accepted inputs), see the Reference section.

Each guide here assumes:

  • The plugin is installed (pip install pytest-adbc-replay)
  • You have either set adbc_auto_patch in pyproject.toml or have a conftest.py that wraps your connection with adbc_replay.wrap() or adbc_connect
  • Your tests are decorated with @pytest.mark.adbc_cassette or you understand the auto-derived naming convention