FinalBuilder Server + FastMM4 Example

When using FinalBuilder Server for continuous integration, what is the recommended way to run a set of unit tests and establish build skipping / failure based on FastMM memory leak check?

+5
source share
1 answer

Newer versions of DUnit optionally connect to FastMM4 and check for memory leaks after each test. This is visible in the graphical interface as a menu item.

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

In addition, DUnit can return the exit code if the tests do not work, so Finalbuilder should only check the exit code:

TextTestRunner.RunRegisteredTests(rxbHaltOnFailures);
0

All Articles