Skip to content

Handle multiple test items passed to runTestsMultipleTimes and runTestsUntilFailure #1724

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

Merged
merged 2 commits into from
Jul 17, 2025

Conversation

matthewbastien
Copy link
Member

@matthewbastien matthewbastien commented Jul 17, 2025

VS Code's testing view passes in test items as varargs. This meant that the count parameter for runTestsMultipleTimes and runTestsUntilFailure was receiving an object when multiple tests were selected.

Added a proper handler for this that will also accept an optional count parameter at the end.

Issue: #1723

Tasks

  • [ ] Required tests have been written
  • [ ] Documentation has been updated
  • Added an entry to CHANGELOG.md if applicable

@matthewbastien matthewbastien merged commit 1e4385a into swiftlang:main Jul 17, 2025
51 of 54 checks passed
@matthewbastien matthewbastien deleted the run-multiple-tests branch July 17, 2025 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants