Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Delphi-News aus aller Welt (https://www.delphipraxis.net/58-delphi-news-aus-aller-welt/)
-   -   Delphi and DUnitX: ensure you catch the ENoTestsRegistered exception (https://www.delphipraxis.net/207723-delphi-dunitx-ensure-you-catch-enotestsregistered-exception.html)

DP News-Robot 27. Apr 2021 06:10

Delphi and DUnitX: ensure you catch the ENoTestsRegistered exception
 
If you setup an empty test project, then DUnitX will throw an ENoTestsRegistered. This exception is not handled, which results in two things: a run-time error 217 if your application is a non-UI application a memory leak detected by FastMM4 So better catch the ENoTestsRegistered exception in your .dpr level: a caught exception will be […]

Weiterlesen...


Alle Zeitangaben in WEZ +1. Es ist jetzt 23:08 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz