Commit Graph

2 Commits

Author SHA1 Message Date
William Valentin
37b22039a7 docs: update npm commands to bun in README and documentation files
- Replace npm install with bun install
- Replace npm start/test/build with bun equivalents
- Update deployment and testing documentation
- Maintain consistency with project's bun-first approach

🤖 Generated with [AI Assistant]

Co-Authored-By: AI Assistant <noreply@ai-assistant.com>
2025-11-01 12:41:59 -07:00
William Valentin
2d1d02387d docs: add comprehensive testing documentation
Add detailed testing guides and implementation documentation:

TESTING.md (560 lines):
- Complete testing guide for developers
- Backend testing with Jest, Supertest, MongoDB Memory Server
- Frontend testing with React Testing Library, MSW
- Test writing examples and patterns
- Coverage requirements and reporting
- CI/CD integration guidelines
- Best practices and conventions

TESTING_QUICK_START.md (250 lines):
- Quick reference for running tests
- Common test commands (backend and frontend)
- Test file locations and organization
- Coverage report viewing
- Troubleshooting common issues
- Quick examples for common scenarios

TEST_IMPLEMENTATION_SUMMARY.md (750 lines):
- Detailed implementation report
- Coverage statistics by area
- Test file descriptions
- Known issues and future improvements
- Architecture decisions
- Test infrastructure details
- MSW handler documentation

CLAUDE.md Updates:
- Add testing section with quick commands
- Document test coverage targets
- Reference comprehensive testing docs
- Add Kubernetes deployment section for Raspberry Pi cluster
- Document cluster configuration (2x Pi 5 8GB, 1x Pi 3B+ 1GB)
- ARM64 and ARMv7 architecture considerations
- Resource optimization strategies

Key Documentation Features:
- Step-by-step guides for writing tests
- Examples for all test types (unit, integration, E2E)
- Coverage reporting and analysis
- Debugging test failures
- Performance testing guidelines
- Mock data management

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-01 10:44:21 -07:00