Skip to content

🐛 修复 SCTest 复制报告缺少用例耗时 - #1757

Merged
CodFrm merged 2 commits into
mainfrom
codex/include-sctest-report-timing
Sep 22, 2026
Merged

CodFrm merged 2 commits into
mainfrom
codex/include-sctest-report-timing

Conversation

@cyfung1031

Copy link
Copy Markdown
Collaborator

Checklist / 检查清单

  • Fixes mentioned issues / 修复已提及的问题
  • Code reviewed by human / 代码通过人工检查
  • Changes tested / 已完成测试

N/A — no issue was referenced.

背景

The copied human-readable report omitted per-case timing even though the panel and JSON report already tracked it.

本次改动

Copied report rows now include each case's formatted duration before expected, actual, and detail diagnostics. Manual
cases keep the panel's 人工 label. JSON continues to export case and summary durationMs as numeric milliseconds.

验证

  • pnpm exec vitest run --no-coverage example/tests/lib/sctest.test.js — passed (92 tests).
  • pnpm run lint — passed (Prettier, TypeScript, i18n, issue-template checks, and ESLint).

@CodFrm
CodFrm merged commit d6cc48b into main Sep 22, 2026
10 checks passed
@CodFrm
CodFrm deleted the codex/include-sctest-report-timing branch September 22, 2026 07:48
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