-
Notifications
You must be signed in to change notification settings - Fork 229
Test Explorer consistently does not detect certain file actions #799
Description
Version
CodeQL CLI v.2.4.6
Extension v1.4.4
OS: Windows 10
Describe the bug
It appears the Test Explorer consistently does not detect certain file actions, requiring a restart of VSCode for them to be detected (or adding new test files; this seems to update the view as well).
Affected:
- Extension never detects deletion of folders containing tests
- Extension never detects renaming folders containing tests
- Extension never detects moving folders containing tests, e.g. moving
/some-tests/test.qlrefinside of/parent-of-tests
It is probably not an issue with codeql resolve tests, because that seems to report the correct directories.
To Reproduce
Try performing any of the actions above and see whether the Test Explorer notices the change.
In case you cannot reproduce this, try opening https://github.com/Marcono1234/codeql-java-queries in VSCode as folder (have not tested as workspace), try the performing the actions described above with any of the folders under codeql-custom-queries-java/tests and see whether the Test Explorer notices the changes.
Expected behavior
The Test Explorer should notice the file actions described above and adjust the view accordingly.
Additional context
I think I have also experienced #310 a few times, however I cannot reproduce it.