Skip to content

Pytest plugin

r_snapshot_effective_settings(pytestconfig, r_snapshot_settings)

Effective settings after applying CLI overrides.

r_snapshot_runner(pytestconfig, r_snapshot_effective_settings)

Runner used to execute R code (overridable for tests).

r_snapshot_settings(pytestconfig)

Session-scoped settings hook for configuring r-snapshot.

Users may override this fixture in conftest.py to provide custom defaults. CLI options still take precedence over this fixture.