Closed MPvHarmelen closed 4 years ago
I noticed that as well, yesterday or so π, but I did not find a way to pass junit_family
or junit-family
via command line. I think we're compat with the new/next default xunit2
as well. π
Any idea?
Creating a pytest.ini
file inside test
folder and adding:
[pytest] junit_family = xunit2
Makes the warning go away! not sure if this is the best solution.
But every user for every project would have to add this, I cannot control this.
Actually you can set options to -o junit_family=xunit2
this way no need to create .ini file. Maybe you can set this as default?
That sounds promising, will try.
The following warning
Is caused by the following line: https://github.com/kaste/PyTest/blob/04cf2aabcf006f6a3b44aeb1d0d0d4d76165bb1d/pytest_exec.py#L43
The way to solve this, according to pytest: