Skip to content
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

Add "Run Test Multiple Times" #1009

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

plemarquand
Copy link
Contributor

Adds two new items to the context menu when you right click a test in the test explorer:

  • Run Multiple Times
  • Run Until Failure

Selecting either of these promts with a text input where the user can input how many times they want to run the test(s).

If the user selected Run Until Failure the tests will be run a maximum number of times, stopping at the first iteration that produces a failure.

A current limitation in VS Code is if you have multiple tests selected in the Test Explorer (by shift or ctrl clicking them) only the first is passed to the command.

Issue: #832

Copy link
Contributor

@award999 award999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Adds two new items to the context menu when you right click a test in
the test explorer:

- Run Multiple Times
- Run Until Failure

Selecting either of these promts with a text input where the user can
input how many times they want to run the test(s).

If the user selected Run Until Failure the tests will be run a maximum
number of times, stopping at the first iteration that produces a
failure.

A current limitation in VS Code is if you have multiple tests selected
in the Test Explorer (by shift or ctrl clicking them) only the first is
passed to the command.

Issue: swiftlang#832
@plemarquand plemarquand force-pushed the run-tests-multiple-times branch from c095a6c to 7eb0751 Compare August 15, 2024 15:52
@plemarquand plemarquand merged commit 0747917 into swiftlang:main Aug 15, 2024
7 of 8 checks passed
@plemarquand plemarquand deleted the run-tests-multiple-times branch August 15, 2024 18:06
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.

2 participants