Get the test results of a build
Changed onGet the test suites and test cases a finished build reported, with their status, duration and failure message. Requires a plan that includes test reports. With any filter or limit, test suites without matching test cases are left out; the counts of a test suite always cover all of its test cases.
Request
- Base URLhttps://api.bitrise.io/v0.1
- AuthAPI key in header Authorization
Path parameters
App slug
Build slug
Query parameters
Test case statuses to keep, e.g. status=failed&status=error for every test that needs fixing (a comma-separated list also works). A test that failed and then passed on a retry has status passed and flaky true.
Only return test cases under the test suite with this exact name, at any nesting level.
Only return test cases with this exact class name.
Only return test cases that are (true) or are not (false) flaky in this build. A test case is flaky when its runs ended with different statuses.
Sort the test cases within each test suite. Ascending status lists error, failed, skipped, then passed.
Direction of sort_by. Only valid together with sort_by.
Maximum number of test cases to return, counted in response order across all test suites.
Response
OK
Changes
- info
added the new optional
queryrequest parameterclass_name - info
added the new optional
queryrequest parameterflaky - info
added the new optional
queryrequest parameterlimit - info
added the new optional
queryrequest parametersort_by - info
added the new optional
queryrequest parametersort_order - info
added the new optional
queryrequest parameterstatus - info
added the new optional
queryrequest parametersuite
- info
- info
endpoint added
- info