Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Look for a way to catch app crashes and report to the user, rather than have test stuck until timeout #161

Closed
LeoNatan opened this issue Jun 10, 2017 · 3 comments

Comments

@LeoNatan
Copy link
Contributor

Currently, if the app crashes (for whatever reason), Detox is unable to realize this, and is stuck until timeout. This is a bad user experience and needs to be solved.

@ambatisuman
Copy link

Detox looks awesome, unfortunately sometimes our tests gets stuck because of this. Are there any plans to get it in next releases? thanks.

@LeoNatan
Copy link
Contributor Author

This is a big, open-ended issue. There is no magic bullet (that we have come up with, anyway). Ideas welcome.

@LeoNatan
Copy link
Contributor Author

We discussed this internally again. and we have a short-term plan that should help solve some of these issues. Not all, but we believe most issues. We plan to work on this soon.

LeoNatan added a commit that referenced this issue Dec 6, 2017
rotemmiz pushed a commit that referenced this issue Feb 8, 2018
* Add exception and signal handling for iOS

First half of #161

* Move exception handling to lower level C++ API to catch C++ exceptions as well as ObjC exceptions

* Update DetoxCrashHandler.mm

* Handling native crashes gracefully

* fixing tests

* Fixed e2e
@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants