Is there anyway to merge cobertura coverage xml reports together?

The last release of ReportGenerator can merge cobertura files. You can install it from nuget usage: reportgenerator “-reports:target\*\*.xml” “-targetdir:C:\report” -reporttypes:Cobertura A file Corbertura.xml is generated in the targetdir directory You can use the dotnet core version to use it on linux or mac

Is there a way to focus lcov code coverage reports to just one or two directories?

I used the –no-external flag together with the –directory flag to exclude unwanted files. The definition of external from the man: External source files are files which are not located in one of the directories specified by –directory or –base-directory. So my command looked like this: $ lcov –directory src -c -o report.info –no-external Capturing … Read more

Code Coverage for Typescript [closed]

On the TypeScript team, we just use regular code coverage tools on the compiled JavaScript. We’ve found this to be more than sufficient, since usually for code coverage you are looking at total coverage % (which doesn’t change significantly) or are deep-diving at expression-level (which also doesn’t change significantly). If you found a tool that … Read more

gcov: producing .gcda output from shared library?

I finally solved this problem by getting some help from the gcc guys. See the thread here: http://gcc.gnu.org/ml/gcc-help/2010-09/msg00130.html. It turns out that the .gcda files were being put in the .libs directory since that’s where the shared library (.so) files were. In order to get gcov to produce the output, I had to move the … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)