Issue with build option - 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

If you want to compile your tests in a library project with the 'apax build' command (e.g. using -i test in the APAX_BUILD_ARGS) it will lead to a build error, if you are using global variables from the TestConfig.st inside your tests. Please, comment out this option during apax build. The tests will be built during command apax test and this build will run successfully.

variables:
  APAX_BUILD_ARGS:
    - -l debug
   # - -i test