Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 2.16 KB

More.Roadmap.md

File metadata and controls

34 lines (24 loc) · 2.16 KB

Detox Development Roadmap

We have some very interesting plans for Detox, this is the place to discuss and share them.

Android support - read more here

The current API supports addition of multiple platforms, Android is next. This is the biggest feature we'll be working on in the near future. Supporting both Android emulators and devices. Our plan is to use both Espresso and UIAutomator as drivers. Espresso for core in-app interactions and syncronization with react-native, and UIAutomator for peripherals (notification panel, permission dialogs etc.). This will grant us both the speed and percision of Espresso, and the flexibility of UIAutomator.

iOS physical device support

Currently detox only supports running on iOS simulators, we plan on adding support for running on devices as well.

Expectations on device logs

One of our most wanted features, being able to assert log outputs.

Performance probing - DetoxInstruments

Maintaining performance is hard, The main issue with it is that by the time you notice there's a degredation in performance there's already so much changed it's hard to find a clear culprit for this regression (probably many small ones). Just like in BI, you won’t know if your change degrades or improves performance unless it is measured.

  • Measure vital signs while running tests. E2E is the perfect environment to measure, tests are repetative, isolated, and run in lab conditions, and remove lots of variables from the equation.
  • Set threshold for measurements. Expect your E2E scenario to use a specific amount of resources.
  • Compare measurements to previous builds. Know exactly when the regression have happened

(Partial) list of measurments we'd like to have:

network bandwidth/calls, thread count, js thread cpu ticks, memory cpu, size on disk, binary size, react component render count, message count on the bridge, disk I/O

Failed test artifacts

Add the following to an artifact directory for each failed test. This has

  1. Video of the test from start to finish
  2. Screenshot when a test failed
  3. Device log
  4. Print hierarchy with testIDs