Configurability of temp directory cleanup #8410
Labels
topic: fixtures
anything involving fixtures directly or indirectly
type: proposal
proposal for a new feature, often to gather opinions or design the API around the new feature
Currently, pytest always deletes temp directories made with the tmpdir or tmp_path fixture, and always keeps the latest three.
I run tox, which runs 20 pytest invocations. Occasionally I would like to be able to keep all of the temp dirs from these runs. One workaround is to define
--basetemp
to be the tox temp directory. But the parameters of temp cleanup seems like an obvious thing to make configurable.The text was updated successfully, but these errors were encountered: