OTX Reference  
OpenTestSystem.Otx.Extensions.Assertion Namespace Reference

Extension for simple unit tests More...

Namespaces

namespace  Actions
 Lists all ActionRealisation extensions.
 
namespace  Exceptions
 Error handling.
 

Detailed Description

Extension for simple unit tests

Assertions are used to ensure the correct implementation of OTX test sequences. An assertion claims that a certain condition holds during OTX execution. It does not contribute to the test logic that is implemented in OTX. Assertions are usually evaluated during testing of the OTX test sequence itself. A failing assertion always indicates that the OTX test sequence contains a programming error and should be changed.

Note
OTX Runtime systems offer a configuration to enable or disable the evaluation of assertions. By default, the evaluation of assertions is disabled. If the runtime system is configured not to evaluate assertion statements, it will suppress any impact of assertions: it will not evaluate their boolean conditions or error messages.