In computer science, test coverage is a measure (in percent) of the degree to which the source code of a program is executed when a particular set of tests is run. A program with high test coverage has more of its source code executed during testing, which suggests it has a lower chance of containing undetected software bugs compared to a program with low test coverage. Many different metrics can be used to calculate test coverage. Some of the most basic are the percentage of program subroutines and the percentage of program statements called during execution of the test suite. Code coverage in the SIMATIC AX ecosystem is based on branch coverage.
Note
By default, all tests are run without emitting a coverage report.