Scenario: I have an XCUITest for an iOS application and I want to call leaks tool on tearDown function.
leaks App_Name --outputGraph=~/Desktop/Foo.memgraph
I want to ask that is there a way I can call a script in tearDown function?
Thank you
Post
Replies
Boosts
Views
Activity
Hi,
I'm following this video Detect and diagnose memory from WWDC 2021: https://developer.apple.com/videos/play/wwdc2021/10180/
In the video, after the UI test finishes execution, a memgraph is generated.
I created a new project and added some UI tests, but after all the tests finished execution, Xcode didn't generate any memgraph.
I'm using Xcode 14.2.
How can I make Xcode generate a memgraph after UI test finishes execution?
Thanks for your help!