Skip to content

feat: support table syntax for test.each#1049

Merged
9aoy merged 2 commits intomainfrom
each-table-syntax
Mar 12, 2026
Merged

feat: support table syntax for test.each#1049
9aoy merged 2 commits intomainfrom
each-table-syntax

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Mar 12, 2026

Summary

support table syntax for test.each / describe.each / test.for / describe.for

it.each`
  email               | name       | expected
  ${'test1@test.com'} | ${'John'}  | ${'test1@test.com'}
  ${'test2@test.com'} | ${'Jane'}  | ${'test2@test.com'}
`('test $expected', ({ email, name, expected }) => {
  // ...
});

Related Links

close #1046

Checklist

  • Tests updated (or not required).
  • Documentation updated (or not required).

@chatgpt-codex-connector
Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages bot commented Mar 12, 2026

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: 90009a8
Status: ✅  Deploy successful!
Preview URL: https://79ae9ca2.rstest.pages.dev
Branch Preview URL: https://each-table-syntax.rstest.pages.dev

View logs

@9aoy 9aoy merged commit 1f132b5 into main Mar 12, 2026
11 checks passed
@9aoy 9aoy deleted the each-table-syntax branch March 12, 2026 10:49
@9aoy 9aoy mentioned this pull request Mar 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Support table syntax for test.each / describe.each

1 participant