GroveEngine/tests
StillHammer 1244bddc41 feat: Add Scenario 6 - Error Recovery test suite
Implements comprehensive error recovery testing with automatic crash
detection and hot-reload recovery mechanisms.

Features:
- ErrorRecoveryModule with controlled crash triggers
- Configurable crash types (runtime_error, logic_error, etc.)
- Auto-recovery via setState() after hot-reload
- Crash detection at specific frames
- Post-recovery stability validation (120 frames)

Test results:
- Crash detection:  Frame 60 (as expected)
- Recovery time: 160.4ms (< 500ms threshold)
- State preservation:  Frame count preserved
- Stability:  120 frames post-recovery
- Memory:  0 MB growth
- All assertions:  PASSED

Integration:
- Added ErrorRecoveryModule (header + impl)
- Added test_06_error_recovery integration test
- Updated CMakeLists.txt with new test target
- CTest integration via ErrorRecovery test

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

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-17 07:14:04 +08:00
..
helpers feat: Add Memory Leak Hunter test & fix critical ModuleLoader leaks 2025-11-16 10:06:18 +08:00
hotreload feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
integration feat: Add Scenario 6 - Error Recovery test suite 2025-11-17 07:14:04 +08:00
modules feat: Add Scenario 6 - Error Recovery test suite 2025-11-17 07:14:04 +08:00
CMakeLists.txt feat: Add Scenario 6 - Error Recovery test suite 2025-11-17 07:14:04 +08:00