Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Oct 27, 2025

Summary

update template parameters in doc.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings October 27, 2025 11:56
@netlify
Copy link

netlify bot commented Oct 27, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 911d808
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/68ff5f9dc92d820008dfe9a6
😎 Deploy Preview https://deploy-preview-652--rstest-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR updates documentation for the test.each API by adding detailed information about template parameters and formatting options. The changes enhance the documentation by explaining how to use printf formatting and $ prefix notation for dynamic test names.

Key Changes:

  • Added comprehensive documentation for printf formatting specifiers (%s, %d, %i, %f, %j, %o, %#, %$, %%)
  • Included code examples demonstrating both printf formatting and $ prefix usage for test name templates
  • Applied changes consistently across both English and Chinese documentation files

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
website/docs/en/api/test-api/test.mdx Added template parameter documentation with examples for English locale
website/docs/zh/api/test-api/test.mdx Added template parameter documentation with examples for Chinese locale

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@9aoy 9aoy merged commit 41a2b5b into main Oct 27, 2025
16 checks passed
@9aoy 9aoy deleted the docs/template-string branch October 27, 2025 12:07
@9aoy 9aoy mentioned this pull request Oct 29, 2025
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.

2 participants