Steps: Add the conditional define FASTMM to your project Ensure you have*$(
BDS)\source\DUnit\src* in your search path in your project (as otherwise Delphi will pick the pre-built TestFramework.dcu file which was compiled without the FASTMM conditional define) Inside a test method, or the SetUp method of a class, set FailsOnMemoryLeak to True If the SetUp method […]
Weiterlesen...