Einzelnen Beitrag anzeigen

Benutzerbild von DP News-Robot
DP News-Robot

Registriert seit: 4. Jun 2010
15.013 Beiträge
 
#1

DUnit with FastMM: Detecting memory leaks in individual tests.

  Alt 5. Aug 2021, 06:10
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...
  Mit Zitat antworten Zitat