Detox icon indicating copy to clipboard operation
Detox copied to clipboard

Introduce an RN-Flipper artifact

Open d4vidi opened this issue 2 years ago • 0 comments

Describe your idea

Background

Often times, when inspecting failed test runs, we turn our existing artifacts up side down, go back and forth only to find that the real errors were in fact things such as failing network requests or a thread temporarily hogging the CPU. Such things are hard to inspect, and usually bury themselves deep inside the device logs.

While we do not normally tend to reinvent the wheel, the detox-instrumentation project - which attempted to address these specific scenarios, cannot and will not be maintained in the near future. Moreover, it is iOS-only, and we don't have the resources to make it applicable for Android as well.

Enter Flipper 🐬: The visual debugger which has become the de-facto standard in the RN dev community.

Mission

Given the right test lifecycle hooks (e.g. app launch/terminate, test start/stop etc.), issue/stop the recording of Flipper. Save the recorded data as an artifact, and viola - here's a feasible tool for getting quick answers to difficult questions.

d4vidi avatar May 18 '23 19:05 d4vidi