Files
TinyTorch/tests/integration/__init__.py
Vijay Janapa Reddi 95b7edee02 Implement Package Manager integration testing system
Features:
- Module-level integration tests for immediate validation
- Two-tier validation: integration tests + checkpoint tests
- Quick package validation after every module completion
- Comprehensive integration test suite for all modules
- Package Manager coordination and test running

Two-Tier System:
1. Integration Test (Package Manager) - "Module works in package"
   - Quick validation (< 1 second)
   - Import validation and basic functionality
   - No conflicts with other modules

2. Checkpoint Test (existing) - "Complete capability unlocked"
   - Comprehensive validation (2-10 seconds)
   - End-to-end workflows and multi-module capabilities
   - Major milestone achievements

CLI Workflow:
- tito module complete 02_tensor
- → Export + Integration test + Checkpoint test
- → Two-tier results with different messaging
- → Immediate feedback + capability celebrations

Integration:
- 15 module integration tests covering complete course
- Package health validation and dependency checking
- Clean separation from checkpoint capability testing
- Professional Package Manager workflow
2025-09-16 21:32:08 -04:00

12 lines
422 B
Python

"""
Integration tests for TinyTorch modules.
These tests verify that individual modules integrate correctly with the package:
- Export correctly to the package
- Can be imported without errors
- Basic functionality works
- Don't conflict with other modules
This is different from checkpoint tests which validate complete capabilities.
Integration tests are quick validation that runs after every module completion.
"""