2021 September Release

app.ducx Unit Test LanguagePermanent link for this heading

The purpose of the app.ducx unit test language is to simplify the definition of unit tests.

Using the app.ducx unit test language, you can define the build blocks for unit testing:

  • unit tests
  • unit test groups
  • scenarios

A unit test block consists of import declarations and unit test elements. The unittests keyword denotes a unit test block. It must be followed by the reference of your software component and curly braces.

Every file with a .ducx-ut extension can hold exactly one unit test block.


unittests softwarecomponent
  // Import declarations
  import softwarecomponent;

  // Unit test elements (scenarios, unit tests, unit test groups)