-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Redirect simulator stdout to runner stdout in --verbose
mode.
#72
Comments
Which logging do you mean? Simulator output? NSLog from inside the app? |
Let's start with all stdio. Just dump it somewhere for starters. |
I'm guessing we don't have logs from react because of #73 , but what about crash logs? I think even in release it should print something... |
What does "somewhere" mean? Where did you use to get it until now? |
Well we can send logs to the detox server and print it out to console/file if we have a |
Right now, |
don't know |
--verbose
mode.
this was working we had to implement it to debug issues with detox on One App in the CI in detox version 3.x when the tests were failing or the app was crashing we added the output of the simulator to detox so it will appear in the build log and we could debug what went wrong inside the app |
Where was the output redirected to? |
stdout of fbsimctl? |
this was a very long time ago so I don't fully remember, but pretty sure this was the commit: |
Interesting. There haven't been made changes to simulator.js for those flows, so they could be broken due to extraneous factors. Detox 3.x has not been tested on modern development environment (Xcode 8, Sierra). |
@rotemmiz I think we can close this, right? The tail command can be routed to Detox output or to some file in output dir? |
Logging should be printed to the console or at the very least to some log file
The text was updated successfully, but these errors were encountered: