In PyTest, how can I specify a different conftest.py file to use?

2.3k Views Asked by At

I'm using Python3.8 with PyTest. By default, pytest uses

./conftest.py

to build and import fixtures. Is it possible to launch pytest and use a different file to load the fixtures -- i.e. specify a different file other than conftest.py?

0

There are 0 best solutions below