-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjustments to Python test discovery (#17)
Making a few tweaks to improve Python test case discovery in files, based on some initial user feedback: - Use selection range for positioning of arrows, so arrow lines up with the function header. The previous range value began at the start of any decorators or other content above the header. Example of adjusted positions: ![image](https://github.com/uber/vscode-bazel-bsp/assets/92764374/ec3096f8-4ab3-420b-9f18-20cccc8551f9) - Let class names start _or_ end with Test - Add a filter before returning that excludes classes containing no test cases. This will reduce noise in cases where the word Test is in a class name but it is not in fact a test.
- Loading branch information
Showing
2 changed files
with
64 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters