I am using pytest to run appium tests with python-appium.
I run the tests on different devices, and I use a command line parameter to select the device via pytest_addoption
.
I output the test results via --junitxml
. Afterwards I collect the test results in jenkins.
It would be really useful if the test names would be prefixed with the platform name.
How can this be done in py.test?