snaptol.plugin.pytest_addoption

snaptol.plugin.pytest_addoption#

snaptol.plugin.pytest_addoption(parser)[source]#

Adds the --snaptol-update command line option to pytest. This option enables updating or cleaning up snapshot files during test execution.

Parameters:

parser (Parser) – The pytest command line parser to which the option will be added.