Installation¶
This plug-in can be installed from PyPI using pip, with the command:
pip install pytest-scenario-files
That’s all! No additional settings or flags, no need to add import statements or decorators to your tests.
If you want to utilize the Responses integration you can either install the Responses package separately or specify the Responses extra:
pip install pytest-scenario-files[responses]
Similarly, if you want to utilize the Respx integration you can either install the Respx package directly or you can specify the Respx extra:
pip install pytest-scenario-files[respx]
Agent Skill¶
This package ships with a skill (skills/pytest-scenario-files/ in the
repository) that teaches an AI coding agent how to use pytest-scenario-files
effectively in your project — when a data file is worth it, where to put it,
and the plugin’s sharper edges. It’s entirely optional and does nothing unless
installed. Use whatever general-purpose skill installer your agent/tooling
provides to install it from that directory.