Run All the Tests

To run all the tests for a policy model (that is, all the test cases in every testing document):

  1. In Policy Modeling on the Project tab, select the Test Cases subtab.
  2. Click the Run button.

    Run button in the Test Cases view in Oracle Policy Modeling

    Note that if your Policy Modeling project contains a reference to a decision service project, you will be prompted to log in to the Hub if you are not already logged in.

The tests will begin running and a dialog will be shown to indicate the progress of this process.

Once complete, a summary of the results will be shown. The summary shows:

  • The total number of test cases run. If a document could not be run due to errors this will be advised here. Note that test cases from test documents that have not been run are not included in the total count of test cases.
  • The number of failed test cases.
  • When the tests were last run and how long the test run took. Links are provided to the test performance details and to the test logs directory where test case statistics can be viewed.

Each test document is shown with an icon to indicate its status. Test documents:

  • that have passed are indicated with a tick
  • that have failed are indicated with an exclamation icon
  • that have not been run are indicated with a question mark icon.

Test Cases view in Oracle Policy Modeling showing the results of a test case run

When you run all the tests from within Policy Modeling in this way, individual testing documents are not modified. This means individual testing documents are not updated with:

  • comments for mismatches between expected outcomes and actual results, or
  • values in any actual columns, or
  • results in a results column.

To see these items for an individual testing document, you will need Run a Single Test for that document.

For more information on interpreting mismatched expected outcomes and actual results in testing documents, see Debug a Failing Test Case.