-
Notifications
You must be signed in to change notification settings - Fork 431
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
Test explorer #1682
Comments
If you use the CMake Tools command "CMake: Debug", the extension reads the setting "cmake.debugConfig.args" which is an array of string. Is there something not properly working with this support? Are you suggesting additional functionality than what this args setting provides? |
I am talking about ctest, this can preconfigure command line args in cmake file directly, without the need the config in vscode config, as we may have a large list of testing command |
Have you tried this extension? https://marketplace.visualstudio.com/items?itemName=fredericbonnet.cmake-test-adapter |
Looks good, is that proper to intergate these features into vscode-cmake-tools? |
We have talked about doing something like this, but it may be a while before we can get to it. I'm going to rename the issue to cover it since I didn't find any others that appear to address this specifically. |
VS Code is also looking at integrating a test explorer: microsoft/vscode#107467. We would prefer to use that framework instead of take a dependency on the 3rd party one. I believe that they are working together on it though. |
@bobbrow Cool. Do you have any specific plans yet? I currently use gtest and the available 3rd party plugins. They mostly work but there is a lot to be desired. What I look forward in an IDE is always a Visual Studio-like experience. The VSCode set if *tools have really narrowed that gap lately. I hope that in the future a more tightly integrated and uniform debugging, testing experience with CMake/GTest/C++ could be achieved. |
I haven't put this on our roadmap yet, but you should add a 👍 reaction to the first comment in this thread to help us prioritize it. |
Test UI is finally built into vs code 1.59, I would be glad to see ctest support! |
Currently, the debugger can only lauch program without parameters,
And with ctest, we can specify parameters as much as possible,
So we'd better to add all possible ctest into debugger directly,
and the first parameter is the program to debug, we can checking
if the first parameter is an executable that's genreated by cmake, if that's ture
then add it to the debug list.
The text was updated successfully, but these errors were encountered: