Files
TinyTorch/tests
Vijay Janapa Reddi 4912f794d2 🛡️ 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
..
2025-07-15 10:03:05 -04:00
2025-07-15 10:03:05 -04:00

🧪 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

# Run all integration tests
pytest tests/ -v

# Run specific module integration
pytest tests/test_tensor_activations_integration.py -v

🚨 Recovery Instructions

If accidentally deleted:

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.