update plugin settings and add testing section to AGENTS.md
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
ed59896c5f
commit
26d26a9554
2 changed files with 15 additions and 7 deletions
|
|
@ -1,5 +1,7 @@
|
|||
# AGENTS.md
|
||||
|
||||
> **Monorepo note:** `web/` is a separate Next.js landing page with its own `AGENTS.md`. This file covers the Flutter app only.
|
||||
|
||||
## Workflow
|
||||
|
||||
- In plan mode, interview thoroughly — ask about UI/UX, tradeoffs, and edge cases before coding
|
||||
|
|
@ -41,6 +43,13 @@ dart run build_runner build --delete-conflicting-outputs # Same, but
|
|||
- Always include trailing commas
|
||||
- Use single quotes
|
||||
|
||||
## Testing
|
||||
|
||||
- `flutter test` runs all tests; `flutter test test/path/to/file.dart` for a single file
|
||||
- HTTP mocking: `http_mock_adapter` (`DioAdapter`) — use full URLs in `onGet`/`onPost`
|
||||
- General mocking: `mocktail` (no codegen required)
|
||||
- Fixtures live in `test/fixtures/` (e.g., `irc_messages.dart`, `api_responses.dart`)
|
||||
|
||||
## Commits
|
||||
|
||||
Lowercase, no prefixes (e.g., `fix landscape bottom padding in chat bottom bar`). Keep commits tightly scoped.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue