Organizing productive code and tests - 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

AxUnit-ST searches tests in the /test directory located next to the /src directory.

Note

At least one .st file containing a namespace is required in your src folder.

// dummy.st
NAMESPACE Dummy.Ns
END_NAMESPACE

Note

Every class in the /test folder has to be inside a namespace.

// MyTest.st
NAMESPACE TestNamespace
CLASS MyTestClass
...
END_CLASS
END_NAMESPACE