Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: not quiting the tests thread looper to keep the app open aft…
…er tests finish/fail (same behaviour as we have on iOS)
- Loading branch information
fcf7689
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to not call stop() then instead of changing the stop() function itself. Because there is no way now, to stop the test thread anymore.
This part was originally designed in a way to support hybrid apps. So, the client can just add a detox test to the existing tests. (detox test is also no op by default) If detox test never stops, then the other tests don't get to run anymore. We are not a good citizen.
Of course there is still way to filter which tests to run, but that puts a bigger burden on the end user.