Overview - Manual - AxUnit-ST - AxUnit ST documentation package - AxUnit-ST,

AxUnit-ST CLI Tool (test)

Portfolio
SIMATIC AX
Product
AxUnit-ST
Software version
8.0.33
Edition
04/2025
Language
English (original)
Package Name
@ax/axunitst-docs

The testing framework supports automation engineers in the development of unit tests and enables them to apply common test principles.

Note

Note that the CONFIGURATION and PROGRAM sections, which are necessary for running tests in applications but are not allowed in libraries, are automatically injected during the build process.

The command apax test builds and executes the tests. A summary is displayed in the CLI and written to testresult/TestResult.xml after completion.

Note

Testing creates artifacts that are stored in the bin folder of your workspace. These include a compilation of your code. If you don't want to ship these artifacts, you either have to delete them before you execute the apax pack and apax publish commands, or exclude them with a files entry in your apax.yml file.