You are here: Data creation and management > Data page testing > Assertions

Assertions

Use data page unit test cases to validate that application data is loaded correctly. To validate data, you configure assertions that define the expected result of the unit test case. When the test runs, the expected result is compared with the actual results on the data page.

When a test runs, it applies assertions in the order that you define them on the Definition tab of the data page unit test. All assertions, except for run time assertions, must pass for the test to be successful.

For example, an account executive wants to ensure that a 10% discount is applied to all VIP customers. A developer can create a test case that verifies that this discount is applied to all VIP customers in the database. If the test does not pass, the results indicate where the 10% discount is not applied.

You can configure the following types of assertions.