Leak Detection in Unit Test
Leak Detection in Unit Test
- Subject: Leak Detection in Unit Test
- From: Tony Romano <email@hidden>
- Date: Wed, 26 Jan 2011 13:23:07 -0800
- Thread-topic: Leak Detection in Unit Test
I've set up a dependent unit test for some code I am testing. I am able to step through code, set breakpoints, etc. I think my environment is set correctly.
I wanted to test for memory leaks using instruments. So I modified my code to explicitly not release the objects and proceeded to run Instruments/Leaks from Xcode. Instruments comes up, the tests run, but I am not seeing any leaks in instruments. Anyone have experience doing this that can share the proper technique for leak testing while running unit tests? I've used leaks successfully before in regular applications.
XCode 3.2.5/OS 10.6
TIA, -Tony
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden