Configuring activity status assertions

Verify that an activity returns the correct status when it runs by configuring an activity status assertion.

  1. Open the unit test case for which you want to create the assertion:
    1. In the navigation panel of Dev Studio, click Configure > Application > Quality > Automated Testing > Unit Testing > Test Cases.
    2. In the Test case name column, click the test case.
  2. 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.
  3. In the Assertion type list, click Activity status.
  4. In the Value list, click the status that you expect the activity to return when the test runs.
  5. Optional: To add a comment, click the Add comment icon, enter a comment, and then click OK.
  6. Click Save.