Commit 099efb2
committed
pytest_plugin(feat): Add XDG persistent cache and fixture optimization
why: Improve test performance with session-scoped caching and atomic
initialization for pytest-xdist compatibility.
what:
- Add XDG-based persistent cache for fixture master copies
- Add RepoFixtureResult dataclass with cache hit/miss tracking
- Add atomic_init for race-free initialization in parallel tests
- Optimize git_repo, hg_repo, svn_repo fixtures with caching1 parent 0b86581 commit 099efb2
1 file changed
Lines changed: 403 additions & 85 deletions
0 commit comments