Use Google Mock with VisualGDB?

Sysprogs forums Forums VisualGDB Use Google Mock with VisualGDB?

This topic contains 5 replies, has 2 voices, and was last updated by  support 1 week, 1 day ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #22267

    abritton
    Participant

    I am evaluating VisualGDB with Visual Studio 2017, and am using Google Test for unit testing on a Linux platform.  My question is whether there is a way to use Google Mock with Google Test, and run the tests on the Linux target?  Thanks in advance.

    #22273

    support
    Keymaster

    Hi,

    Yes, please try installing VisualGDB 5.4 Preview 7 and get the latest version of the GoogleTest framework via the VisualGDB Package Manager. It does include GoogleMock.

    #22276

    abritton
    Participant

    I am using VisualGDB 5.4 Preview 7 now, and can use Google Mock.  However, the Code Coverage feature no longer seems to be working.  I get the code coverage reports as expected, but the code coverage window does not show any functions.  The total %lines in %functions is displayed at the bottom of the window and nothing else.  Also, the highlight coverage source code is not highlighting anything.  What am I doing wrong?  This worked previously when I had the released version of VisualGDB installed.  I have attached a screenshot showing the blank code coverage window.  Thanks for your help in advance.

    Attachments:
    You must be logged in to view attached files.
    #22278

    support
    Keymaster

    Hi,

    Thanks for reporting this. Looks like a bug of the preview build. Please try this build: http://sysprogs.com/files/tmp/VisualGDB-5.4.7.2478.msi

    #22279

    abritton
    Participant

    The code coverage window and highlighting works in this version.  Thank you so much for your extremely fast response.  Your customer support has been outstanding.

    #22282

    support
    Keymaster

    Hi,

    Good to know it works. Don’t hesitate to get back to us if you run into any further problems.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.