Snippets - 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

There are certain requirements that have to be met for the AxUnit testing framework to recognize code as tests. Diagnostic messages are provided to guide the developer in the event that AxUnit requirements are violated.

AxUnit Snippets are the next step of support in the initial phase when starting to write tests. Snippets provide static code examples that will be valid and compile clean when inserted in the proper context.

The following snippets are supported:

  • test-fixture – inserts a test fixture class with one test method
  • test-method – inserts a test method
  • test-function – inserts a test function

Demonstration of snippet usage