Skip to content

Fix coverage command and enhance UI smoke test documentation#25

Merged
perditavojo merged 2 commits into
mainfrom
dev
Apr 22, 2026
Merged

Fix coverage command and enhance UI smoke test documentation#25
perditavojo merged 2 commits into
mainfrom
dev

Conversation

@perditavojo
Copy link
Copy Markdown
Contributor

This pull request updates the README.md to clarify and expand the project's testing instructions and improves the formatting of keyboard shortcut documentation. The most significant changes are the addition of UI smoke testing instructions, the distinction between unit and UI tests, and minor formatting adjustments for consistency.

Testing documentation improvements:

  • Clarified that both unit tests and UI smoke tests should be run before release, instead of only unit tests.
  • Added a new section with step-by-step instructions for running UI smoke tests, including required environment variables and platform requirements.
  • Updated the unit test command to filter out UI tests using --filter-not-trait "Category=UI".
  • Improved the testing notes to specify that UI smoke tests require a Windows desktop environment and the INPUTBOX_RUN_UI_TESTS=1 environment variable.

Formatting and consistency:

  • Removed unnecessary bolding and punctuation in keyboard shortcut descriptions for consistency and readability.

perditavojo and others added 2 commits April 22, 2026 08:05
- coverage 指令補上 --filter-not-trait "Category=UI",與 CI
  及 tests/README.md 一致;避免在無桌面環境的機器誤觸 UI 測試
- 新增「執行 UI 冒煙測試」小節,說明需設定
  INPUTBOX_RUN_UI_TESTS=1 才能在本機執行
- 小節前言由「單元測試」改為「測試(含單元測試與 UI 冒煙測試)」

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 22, 2026 01:14
Copy link
Copy Markdown
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 updates the repository’s top-level documentation to better align local testing instructions with the project’s CI/test suite behavior, especially around separating unit/coverage runs from UI smoke tests.

Changes:

  • Clarifies that pre-release testing should include both unit tests and UI smoke tests.
  • Fixes the coverage command by excluding UI tests via --filter-not-trait "Category=UI" and adds a dedicated UI smoke test run section (including INPUTBOX_RUN_UI_TESTS=1).
  • Normalizes keyboard shortcut documentation formatting by removing unnecessary bolding around parenthetical notes.

@perditavojo perditavojo merged commit 1f91d3b into main Apr 22, 2026
13 checks passed
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