-
Notifications
You must be signed in to change notification settings - Fork 10
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
empty tests list for after v0.14.1 #57
Comments
Hi, thanks for reporting! I can't reproduce the issue locally with the same versions as above, is there any error message displayed in the interface or the output pane? |
Many Thanks for you response @fredericbonnet.
Where exactly I can see error msgs? I tried this "Test Explorer" dropdown option at the tab "Output" tab but no msg. I also use "cmakeExplorer.cmakeIntegration": true but nothing changes if disabled. To be more precisely on my problem, please see the Testing tab: and in version 0.14.1 (expected) |
The only change introduced by version 0.14.2 is this PR: #39 Basically it only activates the extension when a |
Many thanks again @fredericbonnet.
It is not the case. The CMakeLists.txs is at the root of my project https://github.com/telemidia/ginga I tried clean VSCode caching but now even the testing button in the activities menu doesn't show up. |
Hmm that's strange, I've just cloned your project in a codespace and the test button is there, I can also display the log pane. Can you try in another environment ? |
Many thanks @fredericbonnet
I discovered that the button is regarding the "testExplorer.useNativeTesting": true See the screecaptore below.
I tried a WSL environment and had the same problem. See the below screenshots (without "testExplorer.useNativeTesting": false ) WSL env with 0.14.1 WSL env with 0.14.2 |
Hi again @fredericbonnet. |
Hi, I managed to clone and compile your project on a Linux VM (sorry I don't have WSL), and the extension detects the tests just fine (after setting Setting In the Output pane, under Log (Extension Host) you should see something like that:
|
Sorry if I made confusion. My normal environment is windows11 with msys2. I only used the WSL because when you asked me to try another environment. I list below my attempts.
I am not seeing this or any log. I tried to enable cmakeExplorer.logpanel but did not log at "Output > Test Explorer". |
Hey, sorry for the delay. Can you try running the command Developer: Show Running Extensions and check whether the extension is listed there? You should also find Test Explorer UI. The Developer: Open Extension Log Folder is also useful to see all the log files produced by your extensions. Also, maybe it's an issue with other extensions. Try disabling everything but this one and see if it changes anything. In last resort you can try removing the activation event manually: go to the "activationEvents": [
"workspaceContains:**/CMakeLists.txt"
], with: "activationEvents": [
"*"
], Then reload the window (Developer: Reload Window). It should display the following message: Click Reload Window, now the extension should be activated (check again with Developer: Show Running Extensions) |
Many thanks for your time @fredericbonnet. It worked with that change at v0.16.3. I even double check by installing again, and it only works with that change. |
I have the same behavior, it seems that the native UI breaks test output support and that it only works with the Test Explorer UI. I plan to port the extension to the new test API eventually, hopefully there will be a way to fix that. BTW the temporary fix will only work as long as you don't update the extension, I'll try to find a way to fix the activation in the next version. |
Hi. I used cmake-test-explorer in the past successfully. But now I find an empty list when using it.
So, I tried rollback into multiple versions and the more recent version in which the extension work properly is v0.14.1.
My stat is:
code 1.73.0
TestExplorer UI v2.21.1
TestAdater v0.1.6.
Any suggestion?
The text was updated successfully, but these errors were encountered: