JohnnyHendriks / TestAdapter_Catch2

Visual Studio Test Adapter for Catch2
MIT License
104 stars 29 forks source link

Is there any way to run Catch2 from VS 2019 with CMake generator "Unix Makefiles"? #55

Closed TimC0de closed 2 years ago

TimC0de commented 2 years ago

Hello, I want to configure tests via VS 2019 and I'm using Catch2. I watch Walkthrough and googled answers to my questions, but I didn't find answer for my question. I'm building for WSL2 using "Unix Makefiles" generator and "ctest" command from WSL itself works fine, but VS doesn't discover my tests.

Is there any solution for such case? Can you please help me with that?

Thank you.

JohnnyHendriks commented 2 years ago

As far as I can tell this use case is not supported by Visual Studio at this moment. Based on the Microsoft docs support for this might come in a future version of Visual Studio.

TimC0de commented 2 years ago

Thank you for the answer