Skip to main content


A open source unit testing framework, providing a command line test runner. It is included in the RAD Studio setup, but has to be selected as it is an optional package. In contrast to DUnit, tests written for this framework can be directly placed into the classes implementing the logic to be tested (debatable though whether this is a good idea or messes up that code) and test data is usually specified via attributes to the methods implementing the test.

The check methods are in a record or class named Assert, which can create small problems with other tools, as they might not be able to distinguish that from the Assert keyword.

DUnitX also comes with a set of DUnit compatible check method implementations, whichs makes it easier to migrate tests already written using DUnit.