-
Notifications
You must be signed in to change notification settings - Fork 229
New tests not discovered within the current workspace without restart #310
Copy link
Copy link
Closed
Labels
Description
Describe the bug
When a new CodeQL test case/directory is added within an existing workspace, it is not visible in the Test Explorer until the workspace is closed and reopened.
To Reproduce
- Add a workspace folder with existing test cases, e.g. a checkout of
Semmle/ql - Duplicate a directory of test cases, e.g. copy
ql/java/ql/test/dataflow/taint-ioutilstoql/java/ql/test/dataflow/taint-ioutils2. - Go to the Test Explorer view. The new test directory is not visible in the UI, and so cannot be run on its own. However, running the tests in a parent directory will pick up the new test cases.
Expected behavior
The new test directory is visible in the Test Explorer UI, and can be run directly.
Additional context
CodeQL for VS Code 1.1.1, Test Explorer UI 2.17.0, VS Code 1.42.1.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Fields
Give feedbackNo fields configured for issues without a type.