Skip to content

Stop raising an error when re-running all invocations of a JUnit5 test method #1416

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

Closed
Tracked by #1006
fladdimir opened this issue Apr 26, 2022 · 1 comment · Fixed by #1417
Closed
Tracked by #1006

Stop raising an error when re-running all invocations of a JUnit5 test method #1416

fladdimir opened this issue Apr 26, 2022 · 1 comment · Fixed by #1417
Assignees
Labels
Milestone

Comments

@fladdimir
Copy link
Contributor

#1412 (review)
Re-running invocations is currently limited to selecting a single invocation, since it works via restricting the parent-method to a single parameter-set.
So when selecting multiple invocations of the same method for a re-run, an error is thrown:

rerun_all_invocations_before_not_supported

However, when selecting all invocations, the complete parent method could be re-run without any problem.

@jdneo
Copy link
Member

jdneo commented Jun 23, 2022

To verifier:

  1. Prepare a JUnit 5 parameterized test method: sample. and run it.
  2. In Test explorer, select all the children of add(int, int, int)
  3. Click Run/Debug Test,
  4. Verify that the tests can be run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants