-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Skip test display correctly in test explorer #21674
Comments
yes this is good now. Try with below:
should see single node for the file in the test explorer and no more children under it |
I'm sorry, it's really not clear to me what I'm doing wrong here: Screen.Recording.2023-10-25.at.11.31.06.movPlease provide repro steps. |
Hi! Everything looks right except the file name is not a valid single identifier in Python (I had to do some research because this initially confused me too). But the summary is that Python naming pretty much have to follow these rules so a
|
given a file called skip_test_file_node.py that has raise SkipTest(".....") this should appear in the sidebar with no children. The bug is that currently it shows a "unittest" node that gives "loader" and other incorrect nodes below it.
This is wrong, thought I fixed it with, #21665, but it is still persisting.
The text was updated successfully, but these errors were encountered: