Skip to content

Conversation

@V3RON
Copy link
Contributor

@V3RON V3RON commented Jan 13, 2026

Description

Added native crash detection functionality to React Native Harness that automatically detects when the native app crashes during test execution. When a crash is detected, the system:

  • Skips the current test file with a clear error message
  • Automatically restarts the app
  • Continues testing with the next test file

The feature includes configurable options:

  • detectNativeCrashes (default: true) - Enable/disable crash detection
  • crashDetectionInterval (default: 500ms) - How often to check if app is running

Testing

Testing was performed manually by:

  1. Running test suites that include timeout-based waits (e.g., wait.harness.ts)
  2. During test execution, manually force-quitting the app.

@vercel
Copy link

vercel bot commented Jan 13, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
react-native-harness Ready Ready Preview, Comment Jan 13, 2026 10:08am

@V3RON V3RON force-pushed the feat/detect-native-crashes branch 3 times, most recently from afbcd38 to 27ccefd Compare January 13, 2026 10:07
@V3RON V3RON merged commit 989d211 into main Jan 13, 2026
3 checks passed
@V3RON V3RON deleted the feat/detect-native-crashes branch January 13, 2026 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants