Limitations - Manual - AxUnit-ST - AxUnit ST documentation package - AxUnit-ST,

AxUnit-ST CLI Tool (test)

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

Using the mocking framework has the following limitations:

  • Mock setups can only be inside a FUNCTION or METHOD tagged with the pragma {Test}.
  • Mocks of object-oriented function blocks can only mock the whole block. Mocking methods declared inside that block is not possible.