-
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
Detox Instruments Integration (Phase 1) #1165
Conversation
@noomorph Could you please take the "Artifacts manager should collect the recordings" and "Change Detox server to notify testee in case tester is disconnected" tasks? Thanks |
For now, every test has its own recording file. I first sanitize the fullName string for file name ( |
event structure: ``` { "title": "should have welcome screen", //test name "fullName": "Sanity should have welcome screen", //suite + test name "status": "passed" // running/passed/failed } ```
If the user has already loaded the Profiler framework, use that If not, attempt loading from default path
Handle test summaries in native
Stop recording when tests end
…hardcoded profiler path from /Applications Delay loading to a fraction later to allow logging facility to load.
560bb51
to
095a652
Compare
This reverts commit c63b929.
This PR aims to add initial integration between Detox and Detox Instruments.
Detox will load or use the already loaded Profiler framework and call its APIs to record performance metrics for each test. Each recording will be collected by the artifacts manager.
Discussion/Tasks
xcrun simctl terminate
.