Krisp Test Assertions

Version 1.0.0 (Compatible with OutSystems 11)
Published on 26 July 2020 by 
 (0 ratings)

Krisp Test Assertions

Test your logic quickly with actions that throw an exception if the assertion is not true. There are assertion actions for most comparison operations on most basic data types. Assertion actions contain the simple repeatable logic to check test results. Exception messages give a clear indication of what went wrong so you can fix errors quickly.
Read More

Includes 79 assertion actions to aid in unit testing server actions.

When an assertion action is called and the assertion is not True, an exception is thrown.

Each assertion action requires the following inputs

  • Name (Text) The name of the value being tested, eg "Customer.Name"
  • ExpectedValue (Type differs) The value the test expects to find
  • Value (Same as expected value) The actual value returned by the action being tested
  • Message (Text) An optional additional message to throw in the exception.

The exception message will be somewhat like the following depending on the particular assertion:

Name + " does not match the expected value "EXPECTED VALUE", but is "VALUE".

See the Documentation for details of all available actions.

What’s new (1.0.0)
Reviews (0)
More from Stuart Harris