In some applications, comparing signal data to references with tolerances is not expressive enough. Hence, if individual or very specific logic is required to determine whether a test passes or fails, Arttest supports the concept of assertions.
Assertions can be arbitrary Matlab expressions which are interpreted after test execution using the recorded signal data from the test. The result of the assertion is required to be a logical vector of the signal length and is imported to Arttest.
With assertions, testers can use simple expressions, such as x > 10, to assert that signal x is greater 10 during the test, out-of-the-box matlab functionality or self written functions to determine the test outcome. Generated reports will include the assertion expression and the corresponding signal data.