Unit Test Case - the Definition tab

  1. About 
  2. Definition 
  3. History 

The definition tab of a unit test case rule displays the current configuration of the unit test case rule. The rule can be edited, run, and deleted from the definition tab. Access the definition tab by opening an existing unit test case rule.

Existing unit test case rules can be accessed on the Data page test case landing page.

Description

Provides the description of the unit test case, as provided by the unit test case's creator.

Run

Click the data page name to open that data page. You can also change the parameters that are passed on to the data page when the unit test case runs.

Verify

The Verify section of the definition tab displays the expected output of the unit test case. You can also edit the expected output. Expected output includes the properties and their corresponding values that you expect to see in the actual output.

Enter a value (in seconds) that specifies the amount of time within which the data page being tested should complete. If the test does not complete within the specified time, the run time is displayed in red in the test result.

To edit a comparator or value, click on the row and select a comparator from the list. The following comparators are available. Add new properties by clicking Add a property. Existing properties can also be deleted.

String: Equals, Not Equals, Starts With, Contains, Ends With, Is Empty, Is Not Empty
Numeric (Decimal, Double, Integer): Equals, Not Equals, Is Null, Is Not Null, Is Less Than, Is Greater Than, Is Less Than Or Equal To, Is Greater Than Or Equal To
Boolean: Is True, Is False
Date: Equals

Next, enter the expected value. If necessary, enter a comment. Once finished the unit test case can be saved or run.

Existing unit test case rules can be accessed on the Data page test case landing page.

Related Topics IconRelated information