Quantcast
Channel: opencppcoverage Discussions Rss Feed
Browsing all 235 articles
Browse latest View live

New Post: Can run opencppcoverage without source code?

Hello, As an alternative, you can try the following command:OpenCppCoverage --sources YourFilter --export_type=binary:test.cov -- YOUR_PROGRAM It generates a file test.cov that contains the coverage...

View Article


New Post: Can run opencppcoverage without source code?

Thanks, One more question here, 1.Compile my program on computer A, source code location is c:\workspace\src1 2.Copy program on computer B, and run it with OpenCppCoverage...

View Article


New Post: opencppcoverage for VS unit test framework?

The MS VS unit testing framework generates a DLL, which is then invoked by vstest.executionengine.exe. Any clues how to use opencppcoverage for such a project?

View Article

New Post: Can run opencppcoverage without source code?

Hello, Yes, source files on computer C should be at the same location as on computer A. "--sources" defines which source files should be included in the coverage not source location. You can try to use...

View Article

New Post: opencppcoverage for VS unit test framework?

Hello, See this discussion to have an example of command line to run OpenCppCoverage with VS unit test framework. Unfortunately, we discovered a bug and you will probably have an empty coverage (You...

View Article


Image may be NSFW.
Clik here to view.

New Post: Empty Report

1) Created a hello world project. 2) Added google cpp testing framework GTest to the project. 3) Created a few simple tests. 4) Installed plugin for VS2015 and restarted VS2015 5) From the menu...

View Article

New Post: opencppcoverage for VS unit test framework?

Coproc, actually you might want to try https://github.com/atlaste/VSOpenCPPCoverage . It automatically handles all the command line stuff from vstest, which is a pain imho. It doesn't solve the bug...

View Article

New Post: Empty Report

It probably has to do with module filters. Personally I found them to be a bit of a pain, which is why my own addin simply accepts everything underneath the solution folder. The OpenCPPCoverage team is...

View Article


New Post: Empty report following Unity tests

Hello, I am sorry if this discussion is a duplicate of this. I am trying to generate a coverage report after performing tests with Unity. The files I have are very basic: Source file#include...

View Article


New Post: Empty report following Unity tests

Hello, It seems your --sources pattern is not correct (Sources: Selected: C:\Projects\CUnitTests\Files\Project1\Project1\Debug ) except if your source files are located in Debug folder. You do not need...

View Article

New Post: Can run opencppcoverage without source code?

Got it, thanks again.

View Article

New Post: Empty report following Unity tests

Hello, It turned out that I was just being silly and forgot to add '/Zi' as an argument in Visual C++, which actually generates the .pdb file. I got it to work and generate a coverage report, it's a...

View Article

New Post: Empty Report

Hello, Your analysis is correct, the path of your executable ([info] Module: E:\xdrive\XXXX\XXX-testing\example\HelloWorldTest\Debug\HelloWorldTest.exe) does not match the filter (_Modules: Selected:...

View Article


New Post: OpenCPPCover with native C++ test

Hello,OpenCppCoverage 0.9.5.3 is available and should solve the problem. Let me know if it is not the case, OpenCppCoverage

View Article

New Post: opencppcoverage for VS unit test framework?

Hello,OpenCppCoverage 0.9.5.3 should solve the problem with VS unit test framework. You have an example of how to run VS unit test framework from command line here. Let me know if it solve or not your...

View Article


New Post: OpenCPPCover with native C++ test

Hello, I find issue in viewing the index.html file logged after executing RunOpenCppCoverage. I am using version OpenCppCoverage 0.9.5.3. It just displays Coverage total lines Items and rest is empty....

View Article

New Post: Empty Report

You are correct OpenCppCoverage. I was using a subst drive. I compiled from a normal drive and this issue was resolved. Thank you.

View Article


New Post: opencppcoverage for VS unit test framework?

Hello, running opencppcoverage from command line as shown in the linked discussion works now. Great job. WolfgangOn Wed 27/07/16 23:49 , "OpenCppCoverage" [email removed] sent:From:...

View Article

New Post: OpenCPPCover with native C++ test

Hello Sowmyashree, My answer is in the issue you created: https://opencppcoverage.codeplex.com/workitem/21 OpenCppCoverage

View Article

New Post: Multithreaded Test Application

Hi - should OpenCppCoverage successfully handle a multithreaded application ? I am seeing frequent crashes of covered processes that are multithreaded. I am using debug builds, with only the executable...

View Article
Browsing all 235 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>