Fix coverage command and enhance UI smoke test documentation#25
Merged
Conversation
- 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>
Contributor
There was a problem hiding this comment.
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 (includingINPUTBOX_RUN_UI_TESTS=1). - Normalizes keyboard shortcut documentation formatting by removing unnecessary bolding around parenthetical notes.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the
README.mdto 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:
--filter-not-trait "Category=UI".INPUTBOX_RUN_UI_TESTS=1environment variable.Formatting and consistency: