0

I have an XCUITest that executes a set of user actions. lets say

  1. launch app
  2. Tap on login button
  3. Enter credentials and login

I want to capture the memory metrics for each of these steps individually, to identify which step has more memory pressure.

I have tried XCTMemoryMetric, but it provides a single value for the entire test run.

Is there a way I can capture the memory footprint for each of these steps during the test run? fyi - we need to run the test on a real device and not simulator.

pepsin s
  • 29
  • 4

0 Answers0