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

Repeat modifiers for describe and it #2317

Closed
4 tasks done
lukemovement opened this issue Nov 11, 2022 · 3 comments · Fixed by #2652
Closed
4 tasks done

Repeat modifiers for describe and it #2317

lukemovement opened this issue Nov 11, 2022 · 3 comments · Fixed by #2652
Assignees
Labels
enhancement New feature or request pr welcome

Comments

@lukemovement
Copy link

Clear and concise description of the problem

Currently we can not re-run a test multiple times in order to stress a piece of code.

Suggested solution

Like the it.only and it.skip methods, we could have an it.repeats modifier to allow for a specific test to be ran multiple times in order to get an average execution time.

Alternative

No response

Additional context

No response

Validations

@sheremet-va sheremet-va added enhancement New feature or request pr welcome labels Nov 11, 2022
@poyoho
Copy link
Member

poyoho commented Dec 4, 2022

I think we can use the vitest bench to get the same result. 😁

@samkevin1
Copy link
Contributor

Hey! Is this still desirable? I can try to create a PR for it.

@sheremet-va
Copy link
Member

Hey! Is this still desirable? I can try to create a PR for it.

Sure, give it a try.

@github-actions github-actions bot locked and limited conversation to collaborators Jun 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request pr welcome
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants