unit testing - combine python coverage files? -



unit testing - combine python coverage files? -

i'm wondering if it's possible combine coverage.xml files 1 file see global study in html output.

i've got unit/functional tests running 1 command , integration tests sec command. means coverage unit/functional tests overridden unit tests.

that great if had solution problem, combining files 1 file.

you can't combine .xml files, can combine raw info files. workflow this:

$ coverage_file=.coverage_func coverage run the_functional_tests.py $ coverage_file=.coverage_inte coverage run the_integration_tests.py $ coverage combine $ coverage xml

python unit-testing code-coverage

Comments

Popular posts from this blog

Delphi change the assembly code of a running process -

json - Hibernate and Jackson (java.lang.IllegalStateException: Cannot call sendError() after the response has been committed) -

C++ 11 "class" keyword -