Document -short flag, update linting baseline, clarify bd edit MCP exclusion

- Enhanced CONTRIBUTING.md with -short flag usage guidance
- Updated LINTING.md: 22 issues baseline (down from 34)
- Added MCP exclusion note for bd edit command in AGENTS.md

Closes bd-iov0, bd-aec5439f, bd-fd8753d9
This commit is contained in:
Steve Yegge
2025-11-06 19:42:01 -08:00
parent 729ab60ef5
commit 9c3ab7fba9
3 changed files with 42 additions and 11 deletions
+14 -2
View File
@@ -135,16 +135,28 @@ Slow tests use `testing.Short()` to skip when `-short` flag is present.
### Running Tests
```bash
# Fast tests (recommended for development)
# Fast tests (recommended for development - skips slow tests)
# Use this for rapid iteration during development
go test -short ./...
# Full test suite (before committing)
# Full test suite (before committing - includes all tests)
# Run this before pushing to ensure nothing breaks
go test ./...
# With race detection and coverage
go test -race -coverprofile=coverage.out ./...
```
**When to use `-short`:**
- During active development for fast feedback loops
- When making small changes that don't affect integration points
- When you want to quickly verify unit tests pass
**When to use full test suite:**
- Before committing and pushing changes
- After modifying git operations or multi-clone scenarios
- When preparing a pull request
### Writing Tests
- Write table-driven tests when testing multiple scenarios