Skip to content

Conversation

@9aoy
Copy link
Contributor

@9aoy 9aoy commented Nov 12, 2025

Summary

docs: update testNamePattern configuration details.

Related Links

Checklist

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

Copilot AI review requested due to automatic review settings November 12, 2025 08:43
@netlify
Copy link

netlify bot commented Nov 12, 2025

Deploy Preview for rstest-dev ready!

Name Link
🔨 Latest commit 4aeddf6
🔍 Latest deploy log https://app.netlify.com/projects/rstest-dev/deploys/6914489fddb1c600081eeb2e
😎 Deploy Preview https://deploy-preview-690--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 enhances the documentation for the testNamePattern configuration by clarifying how test names are matched and providing additional examples. The changes are made to both English and Chinese documentation files.

Key changes:

  • Added clarification that test names consist of both test case names and their wrapping test suite names
  • Added example demonstrating how suite names affect test filtering
  • Added negative regex example for excluding tests with specific patterns
  • Fixed whitespace formatting issue in English documentation

Reviewed Changes

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

File Description
website/docs/en/config/test/testNamePattern.mdx Enhanced English documentation with test suite name clarification, suite filtering example, and negative regex pattern example
website/docs/zh/config/test/testNamePattern.mdx Enhanced Chinese documentation with equivalent clarifications and examples

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

@9aoy 9aoy merged commit 4871b94 into main Nov 12, 2025
23 checks passed
@9aoy 9aoy deleted the docs/testNamePattern branch November 12, 2025 10:53
@9aoy 9aoy mentioned this pull request Nov 13, 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