Skip to content

Skip automatic CTest discovery when test explorer is disabled#4914

Open
hanniavalera wants to merge 1 commit into
mainfrom
dev/hanniavalera/automaticCtestFix
Open

Skip automatic CTest discovery when test explorer is disabled#4914
hanniavalera wants to merge 1 commit into
mainfrom
dev/hanniavalera/automaticCtestFix

Conversation

@hanniavalera
Copy link
Copy Markdown
Contributor

@hanniavalera hanniavalera commented Apr 28, 2026

This pull request improves the behavior of CTest discovery in the extension, especially in relation to the cmake.ctest.testExplorerIntegrationEnabled setting. The most important changes ensure that automatic post-build CTest discovery is skipped when this setting is false, and update the documentation to clarify this behavior.

Addresses #4909

CTest discovery and integration improvements:

  • Skipped the automatic post-build CTest discovery when cmake.ctest.testExplorerIntegrationEnabled is false, preventing unnecessary test discovery runs after each build if the user has disabled Test Explorer integration.
  • Updated the documentation for the cmake.ctest.testExplorerIntegrationEnabled setting to clearly state that, when set to false, automatic CTest discovery after each build is skipped, but manual and post-configure refreshes still function.

@hanniavalera hanniavalera force-pushed the dev/hanniavalera/automaticCtestFix branch from b93074e to fda3892 Compare May 12, 2026 16:06
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

Successfully merging this pull request may close these issues.

[Feature] Disable automatic ctest refreshTests after build when test explorer integration is disabled

2 participants