GroveEngine/tests/modules
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
..
ChaosModule.cpp feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
ChaosModule.h feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
ErrorRecoveryModule.cpp feat: Add Scenario 6 - Error Recovery test suite 2025-11-17 07:14:04 +08:00
ErrorRecoveryModule.h feat: Add Scenario 6 - Error Recovery test suite 2025-11-17 07:14:04 +08:00
LeakTestModule.cpp feat: Add Memory Leak Hunter test & fix critical ModuleLoader leaks 2025-11-16 10:06:18 +08:00
StressModule.cpp feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
StressModule.h feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
TankModule.cpp feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
TankModule.h feat: Add comprehensive hot-reload test suite with 3 integration scenarios 2025-11-13 22:13:07 +08:00
TestModule.cpp fix: Correct hot-reload version validation in race condition test 2025-11-15 13:21:57 +08:00
TestModule.h feat: Add Scenario 4 - Race Condition Hunter test suite 2025-11-15 10:55:44 +08:00