New Post: Possible support for C++ class coverage?
Hi, I am currently working hard to have a nice plugin and hope I can release it soon. When it will be done, I will add new features to OpenCppCoverage. My idea is to provide a kind of plugin interface...
View ArticleNew Post: Possible support for C++ class coverage?
Hi, Thank you for the good suggestion. I noticed that I didn't have Debugging tools for windows installed and then I downloaded the toolkit and installed them. I really find all the class information...
View ArticleNew Post: Seems like /DEBUG:FASTLINK prevents OpenCppCoverage from running
I'm gettingError: FileDebugInformation.cpp:78 Error when calling SymFromAddr when I'm using /DEBUG:FASTLINK. And it works fine without it. Since FASTLINK is pretty useful I think that it would be great...
View ArticleNew Post: Seems like /DEBUG:FASTLINK prevents OpenCppCoverage from running
So I've done some research and:I'm using windows 8.1 currentlyIt seems that problem is that pdbs generated with /DEBUG:FASTLINK could be used only with later version of dbghelp.dll (~10 instead of ~6)....
View ArticleNew Post: Seems like /DEBUG:FASTLINK prevents OpenCppCoverage from running
Hello, Thanks for reporting the issue. If you need to use a newer version of dbghelp, you should recompile OpenCppCoverage otherwise you have a mismatch between .lib and .dll files. Supporting...
View ArticleNew Post: OpenCcpCoverage cannot find pdb files in Visual Studios 2015
I'm trying to know the coverage of a cpp project, but i keep having a html exported with coverage of 0%, withOpenCppCoverage.exe --sources "C:/WorkSpace/project" --excluded_sources...
View ArticleNew Post: OpenCcpCoverage cannot find pdb files in Visual Studios 2015
Hello, I already successfully run tests for a basic project with vstest.console.exe and without "/Tests". Can you try to comment your tests and check if one of them creates the issue? I noticed you...
View ArticleNew Post: OpenCppCoverage on a COM object?
Hello, I have an executable on which i can use OpenCppCoverage just fine. Now the same executable is also useable as Windows COM automation server. And using it with macros from a VBScript client for...
View ArticleNew Post: Support for C++/CLI
Hello, First I'd like to thank you for developing OpenCppCoverage which is very helpful tool. In my company we work with projects which are written in C#, C++14 and C++/CLI. Measurement of unit test...
View ArticleNew Post: OpenCppCoverage on a COM object?
Hello, Unfortunately, COM service is not supported. See https://opencppcoverage.codeplex.com/discussions/641693 for a workaround. I hope this will help, OpenCppCoverage
View ArticleNew Post: Support for C++/CLI
Hello, Unfortunately I have no plan to support C++/CLI. C++/CLI is a CLR program and the way to compute code coverage is completely different compared to an unmanaged application. I did some tests with...
View ArticleNew Post: Cannot find path for the handle.The handle is invalid.
They're in the same folder, a single drive that is. I have moved this thread to stack overflow in hope that someone might have a lead on...
View ArticleNew Post: Can you Include other files in code coverage percentages?
I have been working with OpenCppCoverage for a bit now, trying to compute the code coverage percentage for a particular DLL. It seems to work by aggregating the results for all the files that are...
View ArticleNew Post: Cannot find path for the handle.The handle is invalid.
Hello, I cloned your code https://github.com/onatbas/OpenCppCoverageTestFail again. I was able to run OpenCppCoverage without any issue on Window 7 x86 (Cannot test on x64). It seems you cannot even...
View ArticleNew Post: Can you Include other files in code coverage percentages?
Hello, Now the coverage by module is defined as the ratio between the total number of lines covered divides by the total number of lines for the files considered times 100. If I understand correctly...
View ArticleNew Post: Is there any way to run opencppcoverage as VS extension with...
For example, I don't want to include one of the modules (it contains too much code, that I don't want to ever use) to check. How can I exclude this module? Or, for example, change destination folder of...
View ArticleNew Post: Map the test case and the API used in program under code coverage
Hi, I run the OpenCPPCoverage with following scenario: The program I run is a Test suite which has say 3 Tests:TestATestB TestC This program loads the module DLL for which I want the code coverage. Say...
View ArticleNew Post: Is there any way to run opencppcoverage as VS extension with...
Hello, I released two days ago a new version of VS extension that support these features: https://visualstudiogallery.msdn.microsoft.com/f45b8e13-f847-4b3b-92df-984df633b60e I hope this will help,...
View ArticleNew Post: Can you Include other files in code coverage percentages?
No, that's not what I meant, sorry. I want to consider files that are not touched. I want to consider files that are in the DLL / PDB but not touched by the tests. So if I have 100 files in the PDB but...
View ArticleNew Post: OpenCppCoverage Plugin 0.9.2
Hello all, After several months of developement, I am happy to release the new version of the Visual Studio plugin. This new version allows to configure every options of OpenCppCoverage. OpenCppCoverage
View Article