Add Testing section to CLAUDE.md
All PHPUnit tests must pass before merging. Zero errors/warnings/deprecations is the baseline.
This commit is contained in:
@@ -41,6 +41,10 @@ These caused most bugs in this project. Every contributor must know them:
|
||||
- Fetch via `@nextcloud/axios` + `generateUrl()`
|
||||
- Always expose `clearError()` action
|
||||
|
||||
## Testing
|
||||
|
||||
All PHPUnit tests must pass (`make test`) before merging. Runs inside the Nextcloud container — no local PHP needed. Zero errors, warnings, and PHP deprecations is the baseline for a commitable PR.
|
||||
|
||||
## UI Guidelines
|
||||
|
||||
- Buttons must show full text, never truncated. Global fix in `main.js` handles NcButton overflow.
|
||||
|
||||
Reference in New Issue
Block a user