Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"No source available" when using Visual Studio CMake Integration #74

Closed
KStocky opened this issue Aug 5, 2024 · 1 comment
Closed

Comments

@KStocky
Copy link

KStocky commented Aug 5, 2024

This is probably somewhat related to #3, however, I have no issues with getting TestAdapter_Catch2 to discover and run tests from the Visual Studio text explorer when I am using the CMake integration, as described in that issue. So I guess that MS have fixed issue #3 now?

The issue I have is that in the "Test Detail Summary" section, all I see is "No source available", and when I run a test there is no information about how many asserts passed or failed as there should be. It just tells me the duration of the test and that "No source available". If I use CMake to generate a visual studio solution and load that visual studio solution instead of using the CMake Integration, everything works as expected. So just like #3, this seems to be a CMake integration issue.

I am currently using Visual Studio 17.11.0 Preview 3.0. This behaviour can be observed by using either the Visual Studio 2022 generator or a Ninja generator (either single config or multi config).

@KStocky
Copy link
Author

KStocky commented Aug 31, 2024

On further reading and exploring of #3. This is the exact same issue. Closing

@KStocky KStocky closed this as completed Aug 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant