Coverage not creating any output file
When I try to run a component test of our testing framework, coverage is not willing to produce any output file (.coverage) and thus failes to generate a report. Apart from this, coverage is not reporting any errors.
qauser@foqa01:~/.jenkins/workspace/TAF-Test> coverage run TestCases/TAF/ComponentTests/CT_AlmApi.py ..<output>.. qauser@foqa01:~/.jenkins/workspace/TAF-Test> coverage xml No data to report.
As this is our framework for component tests up to system integration tests there is quite some stuff happening in there... Do you have any advice on how to track this issue? Is there any verbose mode for coverage?
If I run coverage with a simple script it works perfectly, so the installation seems fine.
qauser@mqzhlfoqa01:~/.jenkins/workspace/TAF-Test> coverage debug sys -- sys ---------------------------------------- version: 3.6 coverage: /usr/local/lib64/python2.6/site-packages/coverage-3.6-py2.6.egg/coverage/__init__.pyc cover_dir: /usr/local/lib64/python2.6/site-packages/coverage-3.6-py2.6.egg/coverage pylib_dirs: /usr/lib64/python2.6 tracer: PyTracer config_files: .coveragerc configs_read: -none- data_path: /export/home/qauser/.jenkins/workspace/TAF-Test/.coverage python: 2.6 (r26:66714, Nov 9 2010, 01:31:57) [GCC 4.3.4 [gcc-4_3-branch revision 152973]] platform: Linux-22.214.171.124-0.2-default-x86_64-with-SuSE-11-x86_64 implementation: CPython executable: /usr/bin/python2.6 cwd: /export/home/qauser/.jenkins/workspace/TAF-Test path: /usr/local/bin /usr/local/lib64/python2.6/site-packages/setuptools-0.6c11-py2.6.egg /usr/local/lib64/python2.6/site-packages/coverage-3.6-py2.6.egg /usr/local/lib64/python2.6/site-packages/distribute-0.6.34-py2.6.egg /export/home/qauser/.jenkins/workspace/TAF-Test /usr/lib/python26.zip /usr/lib64/python2.6 /usr/lib64/python2.6/plat-linux2 /usr/lib64/python2.6/lib-tk /usr/lib64/python2.6/lib-old /usr/lib64/python2.6/lib-dynload /usr/lib64/python2.6/site-packages /usr/local/lib64/python2.6/site-packages /usr/local/lib64/python2.6/site-packages/setuptools-0.6c11-py2.6.egg-info /usr/lib64/python2.6/site-packages/gtk-2.0 environment: PYTHONPATH = .:/export/home/qauser/.jenkins/workspace/TAF-Test PYTHONSTARTUP = /etc/pythonstart PYTHONPATHBASE = /export/home/qauser/.jenkins/workspace/TAF-Test
PS: Thanks for all of this and keep up the good work!