Skip to content

docs: add testing guide#67

Merged
chenjiahan merged 5 commits into
mainfrom
chenjiahan/docs-testing-guide
Jul 21, 2026
Merged

docs: add testing guide#67
chenjiahan merged 5 commits into
mainfrom
chenjiahan/docs-testing-guide

Conversation

@chenjiahan

@chenjiahan chenjiahan commented Jul 21, 2026

Copy link
Copy Markdown
Member

Summary

Testing guidance was split between the README and documentation example, making the complete Rstack behavior harder to discover. This PR consolidates it into dedicated English and Chinese Testing guides for configuration, project types, automatic inheritance, and custom extends; removes the duplicate source content; groups the guide under Practices; and links it from related reference pages.

@chenjiahan
chenjiahan marked this pull request as ready for review July 21, 2026 12:51
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 21, 2026

Copy link
Copy Markdown

Deploying rstack-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: 2e4f75f
Status: ✅  Deploy successful!
Preview URL: https://1bd00f22.rstack-cli.pages.dev
Branch Preview URL: https://chenjiahan-docs-testing-guid.rstack-cli.pages.dev

View logs

@chenjiahan
chenjiahan marked this pull request as draft July 21, 2026 12:53
@coderabbitai

coderabbitai Bot commented Jul 21, 2026

Copy link
Copy Markdown

Review Change Stack

Warning

Review limit reached

@chenjiahan, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 43 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 957711a3-a098-4d29-81fb-7a869464e720

📥 Commits

Reviewing files that changed from the base of the PR and between 5a840bb and 2e4f75f.

📒 Files selected for processing (9)
  • README.md
  • examples/documentation/docs/api/_meta.json
  • examples/documentation/docs/api/testing.mdx
  • website/docs/en/guide/api-reference.mdx
  • website/docs/en/guide/cli/test.mdx
  • website/docs/en/guide/configuration.mdx
  • website/docs/zh/guide/api-reference.mdx
  • website/docs/zh/guide/cli/test.mdx
  • website/docs/zh/guide/configuration.mdx
📝 Walkthrough

Walkthrough

Added English and Chinese testing documentation covering rs test, define.test(), testing APIs, single and multiple projects, external projects, and inheritance customization. Added navigation entries for the new guides and cross-references from API reference, CLI testing, and configuration documentation.

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately summarizes the main change: adding a testing guide to the docs.
Description check ✅ Passed The description matches the PR by describing the new testing guides, links, and Practices grouping.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chenjiahan/docs-testing-guide

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@chenjiahan
chenjiahan marked this pull request as ready for review July 21, 2026 13:08
@chenjiahan
chenjiahan merged commit 74f3869 into main Jul 21, 2026
4 checks passed
@chenjiahan
chenjiahan deleted the chenjiahan/docs-testing-guide branch July 21, 2026 13:08
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.

1 participant