Skip to content

Document that temp dir tweaks should be applied when running Pytest in parallel with Tox  #3187

@faph

Description

@faph

What's the problem this feature will solve?

Parallel runs of Pytest are supported only when the base temporary directory is unique for each concurrent run. For Tox 3, this is documented by way of an example here: https://tox.wiki/en/3.27.0/example/pytest.html#extended-example-change-dir-before-test-and-use-per-virtualenv-tempdir

Describe the solution you'd like

I appreciate that this really is a feature of Pytest and not Tox. However, since Tox provides a unique temporary directory per virtualenv out of the box, it may be helpful to document how this can be used to run Pytest with Tox's --parallel option.

I don't know where within the Tox 4 documentation pages this should be included though...

Alternative Solutions

Do nothing: keep the documentation as is.

Additional context

None.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions