Skip to content

docs: require tests before adding or modifying features#31

Open
kebot wants to merge 3 commits into
mainfrom
claude/suggest-test-platform-lvjBb
Open

docs: require tests before adding or modifying features#31
kebot wants to merge 3 commits into
mainfrom
claude/suggest-test-platform-lvjBb

Conversation

@kebot
Copy link
Copy Markdown
Owner

@kebot kebot commented Apr 18, 2026

Adds a Testing section to CLAUDE.md establishing TDD as the workflow:
write the test file first, mock Tauri APIs following the ScreenContext
pattern, and co-locate test files with their source.

https://claude.ai/code/session_0177LvgF71Ss7kEyMB54CLjf

claude added 2 commits April 18, 2026 22:48
Adds a Testing section to CLAUDE.md establishing TDD as the workflow:
write the test file first, mock Tauri APIs following the ScreenContext
pattern, and co-locate test files with their source.

https://claude.ai/code/session_0177LvgF71Ss7kEyMB54CLjf
Runs on every pull_request and push to main. Uses ubuntu-latest
(no macOS needed for JS checks) to keep it fast and cheap.

https://claude.ai/code/session_0177LvgF71Ss7kEyMB54CLjf
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the CLAUDE.md documentation by adding a new 'Testing' section that outlines TDD practices, test execution commands, and mocking strategies for Tauri APIs. A review comment identifies that the documentation references a non-existent file as a mocking example, which needs to be addressed to ensure the instructions are actionable.

Comment thread CLAUDE.md
@vitejs/plugin-react@6 requires vite@^8; the previous ^7.0.4 constraint
caused CI to install incompatible versions, breaking vitest startup with
ERR_PACKAGE_PATH_NOT_EXPORTED on vite/internal.

https://claude.ai/code/session_0177LvgF71Ss7kEyMB54CLjf
@kebot
Copy link
Copy Markdown
Owner Author

kebot commented Apr 19, 2026

@copilot resolve the merge conflicts in this pull request

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