Prerequisite: Setting up the code coverage extension - 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

To use the code coverage feature, you need to change the default settings in the coverage-gutters extension:

  1. Open File > Preferences > Settings > Extensions > coverage-gutters.
  2. For the Coverage-gutters: Coverage Base Dir option, fill in **.
  3. For the Coverage-gutters: Coverage Report File Name option, fill in test-results/lcov.info. Advanced code coverage highlighter settings
  4. Scroll further down and select the Coverage-gutters: Show Line Coverage option.
  5. Optional: Select the Coverage-gutters: Show Gutter Coverage option. show_coverage_option
  6. Reload the webview or restart AX Code.