Open mathrick opened 1 year ago
This just looks like it works as the conftests seems not to be evaluated early enough
I recommend putting it into a module and using -p my module for s test
I believe there's a Long standing low hanging fruit about required argument
I believe the recommended approach is still to use optional but raise a usage error in the conftests
pytest.main()
, plugins which add a required options no longer parse their options correctly. This doesn't happen when usingpytest
script as the runnerpip list
from the virtual environment you are using[x] minimal example if possible
runner.py
, broken:conftest.py
, works: