lundi 7 septembre 2020

Configure rootdir of pytest

I need to configure the rootdir of pytest with some configuration file. However, i read in the official documentation

The --rootdir=path command-line option can be used to force a specific directory. Note that contrary to other command-line options, --rootdir cannot be used with addopts inside pytest.ini because the rootdir is used to find pytest.ini already.

So, how can I solve this problem?

Aucun commentaire:

Enregistrer un commentaire