AxUnit-ST - Manual - SIMATIC AX - Introduction to SIMATIC AX Logic Control Engineering - Introduction, Get started, AX Workflows, Glossary, SIMATIC AX Logic Control Engineering

Introduction to SIMATIC AX Logic Control Engineering

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
2510
Edition
07/2026
Language
English (original)
Package Name
@ax/introduction

After compiling your application code, test it. AxUnit-ST (CLI command test) is the unit testing framework for SIMATIC AX Logic Control Engineering. Write and execute automated tests for your ST code to ensure quality and correctness before deployment.

AxUnit-ST generates executable test code for both the PLC and your IDE, to validate your logic in a simulated environment before deploying it to the actual PLC hardware.

For example, use AxUnit-ST to:

  • Create test fixtures and test cases in ST.
  • Run tests on your PLC.
  • Run tests locally in your IDE without requiring a physical PLC.
  • Review test results and fix detected issues in AX Code.
  • Integrate test results into CI/CD pipelines.
  • Verify that your code behaves as expected under various conditions.

Writing tests early in the development process helps catch errors before they reach production, reducing debugging time and improving software reliability.

The AxUnit-ST Extension for AX Code provides a user-friendly interface for managing and running your tests directly from the IDE, making it easier to maintain a robust testing workflow.

Related links: