How to install DUnitX under C++ builder?
I am working with Version 10.2.3. and I can't find any hints to use this testing framework in my projects.
How to install DUnitX under C++ builder?
I am working with Version 10.2.3. and I can't find any hints to use this testing framework in my projects.
For the specific C++Builder version addressed in the question, 10.2.x:
Installation: The C++Builder installer for 10.2 lets you select components to install during the installation. DunitX is one of the selectable components.
Usage: Embarcadero documents how to use DunitX with C++Builder 10.2 here in the overview page (archived here).
However, in 2022, the current C++Builder Release 11 (11.1, 11.2) no longer supports using DunitX with C++, so you might want to consider using another unit testing framework. See Embarcadero's note on the same documentation page for the current release (archived here):
Note: DUnitX uses Delphi language features that are not supported in C++. For C++ developers, DUnit is the best tool. C++ can also be tested using other frameworks such as Google Test, available via GetIt Package Manager.
Problem solved. I made a mistake when I installed my update.