What's the problem this feature will solve?
Current
$ cd /path/to/project/1
$ export PYTEST_ADDOPTS="-o cache_dir=/build/pytest_cache_dir_base/${PWD:?}"
$ uv run pytest
$ cd /path/to/project/2
$ export PYTEST_ADDOPTS="-o cache_dir=/build/pytest_cache_dir_base/${PWD:?}"
$ uv run pytest
$ cd /path/to/project/3
$ export PYTEST_ADDOPTS="-o cache_dir=/build/pytest_cache_dir_base/${PWD:?}"
$ uv run pytest
Describe the solution you'd like
environment PYTEST_CACHE_DIR_BASE for better share location
$ export PYTEST_CACHE_DIR_BASE="/build/pytest_cache_dir_base"
$ cd /path/to/project/1
$ uv run pytest
$ cd /path/to/project/2
$ uv run pytest
$ cd /path/to/project/3
$ uv run pytest
Alternative Solutions
Additional context
What's the problem this feature will solve?
Current
Describe the solution you'd like
environment
PYTEST_CACHE_DIR_BASEfor better share locationAlternative Solutions
Additional context