Cannot gen xml coverage report with py.test and pytest-cov

Issue #361 on hold
created an issue

With following tox.ini, coverage.xml is not generated, but .covearge is created. The output is listed below.


commands = py.test ./tests --junitxml=unittest-{envname}.xml --cov=mypkg --cov-report xml


py27 runtests: PYTHONHASHSEED='123456'
py27 runtests: commands[0] | py.test ./tests --junitxml=unittest-py27.xml --cov=mypkg --cov-report xml
============================= test session starts ==============================
platform linux2 -- Python 2.7.10, pytest-2.9.1, py-1.4.31, pluggy-0.3.1
rootdir: /data/jenkins/workspace/mypkg-unittest, inifile: 
plugins: cov-2.3.0

tests/ ..........

 generated xml file: /data/jenkins/workspace/mypkg-unittest/unittest-py27.xml 

---------- coverage: platform linux2, python 2.7.10-final-0 ----------
Coverage XML written to file coverage.xml

========================== 10 passed in 21.87 seconds ==========================
___________________________________ summary ____________________________________
  py27: commands succeeded