Files
TinyTorch/tests/README.md
Vijay Janapa Reddi 635a98f1c7 🛡️ Add protection for critical tests/ directory
- Add tests/README.md with clear warnings and recovery instructions
- Add tests/.gitkeep to ensure directory is always tracked
- Protect 15 integration test files (~100KB valuable code)
- Provide git recovery commands if accidentally deleted

Addresses risk mitigation while keeping standard Python conventions.
2025-07-15 10:03:05 -04:00

34 lines
1.1 KiB
Markdown

# 🧪 TinyTorch Integration Tests
## ⚠️ **CRITICAL DIRECTORY - DO NOT DELETE**
This directory contains **15 integration test files** that verify cross-module functionality across the entire TinyTorch system. These tests represent significant development effort and are essential for:
- **Module integration validation**
- **Cross-component compatibility**
- **Real-world ML pipeline testing**
- **System-level regression detection**
## 📁 **Test Structure**
- `test_*_integration.py` - Cross-module integration tests
- `test_utils.py` - Shared testing utilities
- `test_integration_report.md` - Test documentation
## 🔧 **Usage**
```bash
# Run all integration tests
pytest tests/ -v
# Run specific module integration
pytest tests/test_tensor_activations_integration.py -v
```
## 🚨 **Recovery Instructions**
If accidentally deleted:
```bash
git checkout HEAD -- tests/
git status # Verify recovery
```
## 📊 **Test Coverage**
These integration tests complement the inline tests in each module's `*_dev.py` files, providing comprehensive system validation.