Snippets - Manual - AxUnit - AxUnit - AxUnit,

AxUnit (legacy) CLI Tool (test)

Portfolio
SIMATIC AX
Product
AxUnit
Software version
3.0.4
Edition
08/2025
Language
English (original)
Package Name
@ax/axunit-docs

The AxUnit testing framework has some requirements for the code to be recognized as tests. The developer gets support through diagnostic messages if some AxUnit requirements are violated.

AxUnit Snippets are the next step to support at the initial phase, when starting to write tests. Snippets are providing static code examples which implicate to 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