Skip to content
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.
This repository has been archived by the owner on Dec 5, 2022. It is now read-only.

How to do code coverage for a CMake/CTest project with VSTest.Console.exe? #189

Open

Description

I have a CMake based C++ app with some CTests.
Test coverage tool works fine (almost) from inside VS Enterprise. The Test Explorer discovers the defined CTests and the Coverage Tool runs them and creates a report.

How can I run the test coverage over the available CTests from command line?
I guess VSTest.Console.exe should be used, but not clear how.
Can you please provide information about it?

Thanks and regards.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions