-
Notifications
You must be signed in to change notification settings - Fork 8
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
Multi-root Workspaces issue #40
Comments
Hi, thanks for letting me know. I am sorry that I cannot investigate at the moment. I will look into it as soon as possible. |
@fuchse-ego Did you make it work with multiroot? |
Maybe somebody need this information:After I specified the settings in the workspace settings, the testexplorer find the tests but add one "Main Suite" for each folder in Workspace. Settings:{
"folders": [
{
"path": "CMake",
"name": "Testrunner (local)"
},
{
"path": "Core"
},
{
"path": "Tests"
}
],
"settings": {
"todo-tree.tree.scanMode": "workspace only",
"cmake.autoSelectActiveFolder": false,
"cpputestTestAdapter.logpanel": true,
"cpputestTestAdapter.testExecutable": "${workspaceFolder}/build/testrunner.exe",
"cpputestTestAdapter.testExecutablePath": "${workspaceFolder}/build/",
"testExplorer.hideWhen": "noAdapters",
"testExplorer.useNativeTesting": false,
}
} |
Hi @nische, Seems the bug here is that the test adapter only finds the test if specified in the workspace settings. Edit:
|
Nice find. Yes that line is very much suspicious and now that I read I can remember that I had some issues with that as well. From the back of my head I'd say it was due to the old extension. But since I am using the "new" test api anyways I think it is fixable |
I am currently over it and I am actually confused how you would set the test executable for multiple workspace because the setting itself only exists once. Best approach would be to add them all as a list and let the extension figure out which one exists. But then again, if you use {workspace} which one is it? |
Hi,
I'm using this extension in a single folder workspace and it's great!
However I experimented with the new Multi-root Workspaces and found that the test are not listed correctly.
The tests will show up as "Main Suite" with no child nodes.
Steps to reproduce:
Unfortunately. I'm no JavaScript/TypeScript guy, so I cannot help you out with a PR :(
The text was updated successfully, but these errors were encountered: