Testing with external dependencies - 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

Mocking is a way to test code that has external dependencies, which are hard to include in a unit test. An example is an alarm clock that triggers a function at a specific time, but you do not want to execute your test at exactly this time to test the condition.

Click here to learn more.