-
Notifications
You must be signed in to change notification settings - Fork 68
Tests in suites marked with swift-testing tag are filtered from Test Explorer #1014
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
Labels
bug
Something isn't working
Comments
plemarquand
added a commit
to plemarquand/vscode-swift
that referenced
this issue
Aug 16, 2024
Tags defined on swift-testing suites are meant to be inherited by child suites/tests. VS Code doesn't apply this inheritance automatically, so we must set a suite's tags on its children ourselves. Issue: swiftlang#1014
plemarquand
added a commit
that referenced
this issue
Aug 19, 2024
Tags defined on swift-testing suites are meant to be inherited by child suites/tests. VS Code doesn't apply this inheritance automatically, so we must set a suite's tags on its children ourselves. Issue: #1014
Verified with d6c91dd |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you add a tag to a suite and filter the test explorer by that tag, the suite appears in the list but its child tests/suites do not. If a suite has a tag, all children of that suite should inherit it as well.
The swift-testing documentation on tags states: "If any tags are applied to a test suite, then all tests in that suite inherit those tags."
Running the suite while in the test explorer filtered view VS Code runs no tests, because no tests match that tag, only the suite.
See attached screenshot:
The text was updated successfully, but these errors were encountered: