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

feat: support test.each, test.todo etc. #16

Merged
merged 8 commits into from
Nov 5, 2024
Merged

Conversation

jembezmamy
Copy link
Collaborator

This MR adds support for all the test methods provided by QUnit:

  • test.if
  • test.only
  • test.skip
  • test.todo
  • test.each
  • test.if.each
  • test.only.each
  • test.skip.each
  • test.todo.each

To allow setting maxRuns only once globally, a new argument was added to setup:

// sets maxRuns to 3 for all methods
const retry = setup(QUnit.test, 3)

package.json Show resolved Hide resolved
main.js Show resolved Hide resolved
test/retry-only.js Show resolved Hide resolved
@mrloop mrloop merged commit 92034c4 into master Nov 5, 2024
1 check passed
@mrloop mrloop added the enhancement New feature or request label Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants