Question: In modern programming workflow numerous testing frameworks are used at once. For example, in PHP world, it is de-facto standard way to use unit tests, integration tests and functional/acceptance tests at once. Most of the time different frameworks are used for different test type. I am using combination of PHPSpec for unit, PHPunit for integration and CodeCeption for functional tests.

**Is it possible to aggregate code coverage results that each of these frameworks return? Is there any tool that aggregates code coverage reports from different frameworks?**
Or it is only possible to view individual results for each framework while they are incorrect because each code coverage report doesn't take into account other tests.

Answer: 
There is a tool for this: [phpcov](https://github.com/sebastianbergmann/phpcov). It allows to merge many coverage files with merge option:

```
$ parallel --gnu :::                                                 \
'phpunit --coverage-php /tmp/coverage/FooTest.cov tests/FooTest' \
'phpunit --coverage-php /tmp/coverage/BarTest.cov tests/BarTest'

$ phpcov merge /tmp/coverage --clover /tmp/clover.xml
phpcov 2.0.0 by Sebastian Bergmann.

Generating code coverage report in Clover XML format ... done

```
I think we are on same boat. How we can tell how much we have converge using this all different testing tool. We start discuss with team and decide to go for 

[SonarSource](http://www.sonarsource.com/products/plugins/languages/php/). - For PHP Plugin and Live demo

PHP Report Stlyle - I advice you to visit live demo. It will help more.

[![enter image description here](https://i.stack.imgur.com/h2xTi.png)](https://i.stack.imgur.com/h2xTi.png)

It is very robust tool. It give us all inside of code.