{"library":"pytest-xfiles","title":"pytest-xfiles","description":"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.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install pytest-xfiles"],"cli":null},"imports":["from pytest_xfiles import xfiles"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import pytest\n\ndef test_read_func_xfile(xfiles):\n    \"\"\"Test function-level xfile.\"\"\"\n    # The fixture returns a reader function\n    data = xfiles()\n    assert data is not None\n","lang":"python","description":"Basic usage: declare the 'xfiles' fixture parameter to read an xfile for the test function.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}