test-quarantine

Quarantine a test

Changed on

Quarantine a test case of an app. The test is identified by test_case_identifier when the test report provides one, otherwise by its name, suite names and class name. Requires permission to run builds and a plan that includes test quarantine.

post/apps/{app-slug}/quarantined-tests

Request

  • Base URL
    https://api.bitrise.io/v0.1
  • Auth
    API key in header Authorization

Path parameters

app-slugstring required

App slug

Request body

build_slugstring

Slug of a build of the app the test failed in. When omitted, the test is recorded as quarantined from the API.

class_namestring
commentstring
test_case_identifierstring
test_case_namestring required
test_suite_namestring[] required

Names of the test suites containing the test case, outermost first

Response

Created

class_namestring
commentstring
idstring

ID of the quarantined test

quarantined_atstring date-time
quarantined_bystring

Username of the user who quarantined the test

test_case_identifierstring

Identifier of the test case, when the test report provides one

test_case_namestring
test_suite_namestring[]

Names of the test suites containing the test case, outermost first

Changes