Manage Tests
The Intelligent Advisor Hub REST API for test suites provides the ability to maintain and assess user-defined test suites and review the results of the executed tests. Test suites are associated with one or more deployments or web projects and are populated with test cases. Each test case provides input data to be used for assessment and the expected assessment output. Test runs are created to assess all test cases in a suite against the most recent version of the associated deployments or web projects. The output of a test run provides details of the test cases assessed for each deployment or project version, identifying whether the assessed output matched the expected output.
Note: In production environments use of the Test Suites REST API consumes billable Assessments. Therefore, if you are not entitled to such billable usage, you cannot use the Test Suites REST API in production environments.
The following tasks can be performed using the Intelligent Advisor Hub REST API:
-
Create, read, modify, or delete test suites, and test cases
-
Create new test runs for processing, and cancel or delete test runs
-
Read, or delete test assessment results for test runs
The URI {version}/tests is used to manage tests and test suites.
The URI {version}/tests/{testSuite-name}/testcases is used to manage test cases.
The URI {version}/tests/{testSuite-name}/runs is used to manage test runs.
For more information, see:
Tip: The Testing Page in the Hub can be used to run and review test results for test suites previously created with the Test Suites REST API.