Testing Page

The Testing page in Intelligent Advisor Hub is where you can run and review test results. It displays all the test suites previously created with the Test Suites REST API and their most recent status. You can start and review test run result history across all test suites, for Policy Modeling and web-authored decision service projects.

The Testing page in Intelligent Advisor Hub showing the Test suites tab

The Testing page is accessed by clicking Testing in the Navigation Pane.

Note: The Testing page is only accessible by users with an Author or Manager user role.

On the Testing page you can Import a Test Suite.

Test suites tab

On the Test suites tab you can:

  • View all the test suites in the workspaces that the user is a member of. For each test suite, the following information is displayed:
    • test suite - the suite's name, workspace and icon representing the type (either deployments or projects) that the suite targets
    • description - the description provided by the user
    • test targets - a list of the names of either the deployments (deployed Policy Modeling projects) or projects (decision services) which the test suite tests will be run against
    • test cases - a count of how many test cases are defined for the test suite and includes a count of how many of those are enabled
    • last result time - the date of the most recent test run for that test suite, if there are any. If a test suite has been updated, which includes any changes to its test cases, and another test run has not been executed since that update, then the text "Suite updated since this result" will be shown under the date and time of the last result time.
    • last result - the run status as one of Pending, Running, Error, Passed, Failed, Cancelled or No run data. Except for when the status is Pending or No run data, there should also be a count of how many tests are pending (haven't run), passed, failed, had an error, and the total. When a test run is created, the Last result column status will then be set to Pending and values will be populated/updated from the new run's data. You will also see a new row appear on the Test runs tab.
  • Click on the menu for the test suite to:
  • Sort the data by clicking on the up/down arrows in any of the column headings
  • Use the search field to filter the list of test suites by workspace or run result.

Test runs tab

The Testing page in Intelligent Advisor Hub showing the Test runs tab

On the Test runs tab you can:

  • View all the test runs of all accessible test suites. For each test run, the following information is displayed:
    • test suite - the name of the test suite and workspace that the run belongs to
    • status - the run status as one of Pending, Running, Error, Passed, Failed, Cancelled or No run data
    • result time - the localised datetime value of the last update made to the test run
    • pending count - the number of tests in a pending state
    • pass count - the number of tests that passed
    • fail count - the number of failed tests
    • error count- the number of tests with errors
    • total count - the number of tests in the run
  • Click on the menu for the test run to either:
  • Sort the data by clicking on the up/down arrows in any of the column headings
  • Use the search field to filter the list of test suites by test suite, workspace or status.

    The Testing page in Intelligent Advisor Hub showing the Test runs tab with a filter applied