pytest-xfiles provides fixtures that read test data from files named after the test function, module, or package (xfiles). Current version 0.2.0, with no recent updates; likely in maintenance mode.
pip install pytest-xfilesNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Basic usage: declare the 'xfiles' fixture parameter to read an xfile for the test function.
Consider alternative fixtures or pin pytest version.
Use xfiles() to read the content, not just reference the fixture.
Ensure xfile follows the naming pattern: test_func.xfile or test_func/*.xfile.
No dependency data recorded yet.