Skip to content

feat(core): add dot reporter#1145

Merged
9aoy merged 5 commits intomainfrom
9aoy/feat-dot-reporter
Apr 8, 2026
Merged

feat(core): add dot reporter#1145
9aoy merged 5 commits intomainfrom
9aoy/feat-dot-reporter

Conversation

@9aoy
Copy link
Copy Markdown
Collaborator

@9aoy 9aoy commented Apr 7, 2026

Summary

Background

Rstest shipped several built-in reporters, but it did not provide a compact dot-style terminal reporter for fast local feedback.

Implementation

  • Added a built-in dot reporter that prints one marker per test case and reuses the existing failing-test summary/footer.
  • Registered dot in reporter types and reporter creation so it works from config and --reporter=dot.
  • Added e2e coverage for the CLI output and documented the reporter in both English and Chinese docs, including the 0.9.7 added-version note.

User Impact

Users can now run rstest --reporter=dot to get compact progress output without losing the existing summary information.

Checklist

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

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

cloudflare-workers-and-pages Bot commented Apr 7, 2026

Deploying rstest with  Cloudflare Pages  Cloudflare Pages

Latest commit: aa028ca
Status: ✅  Deploy successful!
Preview URL: https://134ca569.rstest.pages.dev
Branch Preview URL: https://9aoy-feat-dot-reporter.rstest.pages.dev

View logs

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 7, 2026

Rsdoctor Bundle Diff Analysis

Found 12 projects in monorepo, 1 project with changes.

📊 Quick Summary
Project Total Size Change
adapter-rsbuild 2.2 KB 0
adapter-rslib 23.2 KB 0
adapter-rspack 5.9 KB 0
browser 2.0 MB 0
browser-react 3.7 KB 0
browser-ui 804.4 KB 0
coverage-istanbul 8.9 KB 0
core/browser 970.4 KB 0
core/loaders 869.0 B 0
core/main 1.5 MB +2.0 KB (0.1%)
vscode/extension 60.2 MB 0
vscode/worker 14.4 KB 0
📋 Detailed Reports (Click to expand)

📁 core/main

Path: packages/core/.rsdoctor/main/rsdoctor-data.json

📌 Baseline Commit: 885c000aa3 | PR: #1139

Metric Current Baseline Change
📊 Total Size 1.5 MB 1.5 MB +2.0 KB (0.1%)
📄 JavaScript 1.5 MB 1.5 MB +2.0 KB (0.1%)
🎨 CSS 0 B 0 B 0
🌐 HTML 0 B 0 B 0
📁 Other Assets 79.2 KB 79.2 KB 0

📦 Download Diff Report: core/main Bundle Diff

Generated by Rsdoctor GitHub Action

Comment thread packages/core/src/reporter/dot.ts Outdated
@9aoy 9aoy requested a review from fi3ework April 8, 2026 06:01
@9aoy 9aoy merged commit d6ce7e1 into main Apr 8, 2026
31 of 33 checks passed
@9aoy 9aoy deleted the 9aoy/feat-dot-reporter branch April 8, 2026 07:41
fi3ework pushed a commit that referenced this pull request Apr 9, 2026
@9aoy 9aoy mentioned this pull request Apr 10, 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.

2 participants