4 Commits

Author SHA1 Message Date
Vijay Janapa Reddi
4aa444517b Extend integration test mapping to cover all 20 modules
Added explicit comments explaining which tests apply to each tier:
- Foundation (01-07): Core integration tests
- Architecture (08-13): CNN and NLP pipeline tests
- Performance (14-19): Module-specific tests only
- Capstone (20): Comprehensive validation
2025-12-02 23:07:04 -08:00
Vijay Janapa Reddi
47635d1550 Add three-phase testing to tito module test
- Phase 1: Inline unit tests (quick sanity checks)
- Phase 2: Module pytest with --tinytorch educational output
- Phase 3: Integration tests for modules 01-N

Added --unit-only and --no-integration flags for flexibility.
Students can now run comprehensive tests with clear feedback
about what each phase is checking and why it matters.
2025-12-02 23:06:17 -08:00
Vijay Janapa Reddi
c89cedd080 Enhance module test CLI with rich progress bars
Added live progress bar to `tito module test --all` command:
- Shows spinner, progress bar, and task progress (X/20)
- Updates description with current module being tested
- Provides better visual feedback during long test runs
- Maintains all existing rich output (logo, panels, tables)

Uses rich.progress with SpinnerColumn, TextColumn, BarColumn,
and TaskProgressColumn for comprehensive progress visualization.

This completes the rich CLI enhancement pass for bulk commands.
2025-11-29 14:45:09 -05:00
Vijay Janapa Reddi
5ce54ce228 Add bulk testing and export commands for modules
New Commands:
- tito module test [NUMBER]    - Test single module
- tito module test --all        - Test all 20 modules sequentially
- tito module complete --all    - Complete all modules (test + export)
- tito module reset --all       - Reset all modules (already existed)

Features:
- Detailed test results with pass/fail status
- --verbose flag for full test output
- --stop-on-fail to halt on first failure
- Summary table showing all module test results
- 5-minute timeout per module test
- Proper error reporting and exit codes

This enables:
- Quick validation of all modules after global changes
- Bulk export workflow for package releases
- Easy testing during development

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-29 13:59:48 -05:00