Is it possible to test if memory leaks occur when running a Unit Test? I want to check if my memory management is handled correctly.
Thanks
Is it possible to test if memory leaks occur when running a Unit Test? I want to check if my memory management is handled correctly.
Thanks
You can try running your unit tests under Instruments with the Leak Detection Instrument.
However, this will only work for Application (bundle) tests, if you're using OCUnit. If you happen to use something else, please let us know.