I have an XCUITest
that executes a set of user actions. lets say
- launch app
- Tap on login button
- 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.