简体   繁体   中英

FinalBuilder Server + FastMM4 example

使用FinalBuilder服务器进行持续集成时 - 基于FastMM内存泄漏检查,建议运行一系列单元测试并建立构建通过/失败的方法是什么?

Newer versions of DUnit optionally link in FastMM4 and check for memory leaks after every test. This is visible in the GUI as an menu item.

As DUnit is open source, I guess this feature can also be used in a command-line test (TextTestrunner).

Also, DUnit can return an exit code if tests fail, so Finalbuilder only needs to check the exit code:

TextTestRunner.RunRegisteredTests(rxbHaltOnFailures);

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM