-
Notifications
You must be signed in to change notification settings - Fork 37.4k
Description
Type: Bug
If you look at the picture...
...you can see that tests in test explorer are sorted by parameters.
Due to the sorting, when we have a test with lot of parameters, we cannot distinguish which one failed. To find out failed test, we have to comment all parameters and than uncomment one by one.
If I pres "Go to Test" button, on any parameter, it leads me to the @pytest.mark.parametrize() line, which means it is not usable at all. It would be usable if "Go to Test" points to test parameters.
For example if I press it on the line from the picture above, the cursor should be positioned at line 12, not 7.
As it is right now, you can freely remove "Go to Test" from parameters, and just leave the one on the root (test_print_one) because it is useless.
Either stop sorting tests in test explorer (at least parameterized tests) or make "Go to Test" to go to selected parameters.
Extension version: 2022.16.0
VS Code version: Code 1.72.1 (129500e, 2022-10-10T17:22:48.346Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No
Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2
Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2
