Skip to content

feat(test): Document should_fail support for expected-failure tests#230

Merged
waruqi merged 2 commits intoxmake-io:vitepressfrom
romeoxbm:feat-test-should-fail-vitepress
Jun 26, 2025
Merged

feat(test): Document should_fail support for expected-failure tests#230
waruqi merged 2 commits intoxmake-io:vitepressfrom
romeoxbm:feat-test-should-fail-vitepress

Conversation

@romeoxbm
Copy link
Contributor

@romeoxbm romeoxbm commented Jun 25, 2025

Adds documentation for the should_fail option in test configurations, including behavior and example output.
This replaces the original documentation PR #229, which was based on the master branch.

Implementation PR: xmake-io/xmake#6588

Note: Since I don’t speak Chinese, I used a translator and wasn’t able to verify the accuracy of the translation. If there are any mistakes or better ways to phrase it, feel free to suggest edits or let me know, and I’ll update it accordingly.

Add documentation for the should_fail option in add_tests(), describing its usage and integration in test reports.
@netlify
Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for unique-tarsier-329fcf ready!

Name Link
🔨 Latest commit d1a0455
🔍 Latest deploy log https://app.netlify.com/projects/unique-tarsier-329fcf/deploys/685c1b04cfb2b00008776a1b
😎 Deploy Preview https://deploy-preview-230--unique-tarsier-329fcf.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.

@waruqi waruqi merged commit 4c4d255 into xmake-io:vitepress Jun 26, 2025
4 checks passed
@romeoxbm romeoxbm deleted the feat-test-should-fail-vitepress branch June 26, 2025 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants