Commit Graph

2 Commits

Author SHA1 Message Date
Greg Hendrickson
e3915f1b33 Fix Rich markup errors + add UI rendering tests
- Fix mismatched closing tags in menu markup
- Use Text() objects for safe string rendering
- Add comprehensive UI render tests that catch markup errors
- Tests cover: menu, game status, chess board, narrow terminals
- CI will now catch these before deployment
2026-01-27 18:50:21 +00:00
Greg Hendrickson
db1ce55c2c feat: robust SSH with fallback menu + comprehensive tests
- Add fallback Rich-based menu when Textual fails
- Working chess game via simple terminal UI
- Proper PTY/terminal handling for SSH
- Added pytest test suite:
  - SSH auth tests (no-auth, accept any)
  - Mode selection tests (play/learn/watch)
  - Chess board widget tests
  - Move validation tests
  - Game state detection tests
- CI workflow for GitHub Actions
- Run tests with: pytest tests/ -v
2026-01-27 18:08:57 +00:00