Configuring activity status assertions
Verify that an activity returns the correct status when it runs by configuring an activity status assertion.
-
Open the unit test case for which you want to create the assertion:
- In the navigation panel of Dev Studio, click .
- In the Test case name column, click the test case.
-
Create a new assertion or select an existing one to modify:
- To create a new assertion, at the bottom of the page, click Add expected result.
- To modify an existing assertion, select the assertion you want to modify.
- In the Assertion type list, click Activity status.
- In the Value list, click the status that you expect the activity to return when the test runs.
- Optional: To add a comment, click the Add comment icon, enter a comment, and then click OK.
- Click Save.