python modules: pytest pytest-cov Use the command below to generate a test xml file py.test foobar --cov-report xml:cov.xml --cov foobar