Has anyone ever used gtest with visual studio? if so, how did you get code coverage reports? I'd like to configure my project to produce coverage data, but it seems like nobody else uses gtest/visual studio with gcov or any other code coverage.
code coverage with visual studio and gtest
9.3k Views Asked by Jose Villalta At
1
There are 1 best solutions below
Related Questions in VISUAL-STUDIO-2013
- Alternative for nextafter when backporting to visual studio 2013
- Visual Studio 2013 Crystal report error "MIssing parameters Values"
- Visual Studio 2013 Crystal report 13.0.8 do not open
- Open Visual Studio 2012 solution in Visual Studio 2013
- SSRS DataTransform property in VS 2013 produces no output
- Virtual method with default parameter changed behavior
- why return nothing when i want to read password( CredentialBlob ) from credential manager in windows with type CRED_TYPE_DOMAIN_PASSWORD
- "This project is incompatible with the current version of Visual Studio" (VS2013)
- How to install AJAX in Visual Studio 2013
- "Package Installation" error on Visual Studio project load
- Choosing the user's installation folder of a program deployed with Visual Studio
- Running C++ dll in C# for calling functions
- Install multiple SAP Crystal Reports versions?
- Error "Cannot open source file" always occurs on Visual Studio Platform Toolsets v120_xp
- How to build Google test in Visual Studio 2013?
Related Questions in CODE-COVERAGE
- oss-fuzz does not cover the code after if - else in C code
- How to correctly generate an HTML report of coverage with grcov
- Getting a total line, branch, statement and function count per file in a TypeScript project
- xcbuild didn't run tests even though it can be run from XCode
- pytest command used in gitlab CICD pipeline does not automatically pick test_* script and throws error "CoverageWarning: No data was collected."
- How to check branch coverage in Bullseye Coverage?
- Dotnet solution: Code coverage cannot exclude modules/assemblies
- codecov doesn't find any reports
- VSTest branch coverage missing on fixed statement
- Pytest-cov: How can I increase coverage?
- system-verilog - cross cover between generate-loop instances
- Sonar showing condition always false error though it is not
- Multiple instances of covergroup based on parameter
- Code Coverage not working in CLion for linux
- For each java class, output the contributing tests (which cover that class) to a JSON report
Related Questions in GOOGLETEST
- GoogleTest several C++ projects in the same solution
- pthread-related errors when upgrading test from GoogleTest to GoogleMock (Ubuntu 14)
- gtest - How to run the same code in the beginning of some functions
- Specifying method's behaviour via EXPECT_CALL vs in body
- InvalidOperationException in System.ServiceModel.dll using Visual Studio 2015 with C++, GoogleTest Framework and Google Test Adapter
- Can I force cygwin to show colors like dos prompt when running GoogleTest?
- Working with Gtest and Gmock on Windows
- vcpkg does not work for google test
- C++ Google Mock - EXPECT_CALL() - expectation not working when not called directly
- visual studio 2010 express gtest c++
- Gtest, equals object
- Gtest and Gmock - double free or corruption
- Cucumber-cpp step defiinition runner exits immediately
- gtest installed with conan: undefined reference to `testing::internal::GetBoolAssertionFailureMessage`
- googletest & cmake - Undefined symbols for architecture x86_64
Related Questions in GCOV
- Is it possible to merge coverage data from two executables with gcov/gcovr?
- GCOV Cross Profiling: __gcov_flush() does not flush coverage data for shared libraries
- Understand control flow graph in lcov branch coverage output
- No source code coverage color highlighting in eclipse-cpp-luna-SR1 for static library project
- code coverage with visual studio and gtest
- How to use gcov in cross compiler?
- How to use lcov in cross compile environment.?
- Does lcov generate intermediate .gcov files?
- kcov vs lcov vs raw performance?
- shared library coverage test with gcov [Linux/Fortran]
- Using Lcov in a cluster
- NO GCOV DATA FOUND
- Using gcov with shared objects used by executable
- interpret gcov output to identify basic blocks
- Must the main() executable program be compiled and linked with gcov options to use gcov on shared library
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
I asked around the office, and someone suggested this tool: https://github.com/OpenCppCoverage/OpenCppCoverage
I will give it a try. I will come back and report the results.