Manage Tests and Build Problems
This article lists REST API requests concerning tests and build problems.
List Build Problems
To list build problems, use:
problemOccurrenceLocator is typed as ProblemOccurrenceLocator. For example, to get build problems for a build with the ID
To list specific tests, use:
testOccurrenceLocator is typed as TestOccurrenceLocator.
Some supported locator dimensions:
build:(<buildLocator>)— test run in the build found with
build:(<buildLocator>),muted:true— failed tests which were muted in the build.
test:(<testLocator>)— instances of the test found with
currentlyFailing:true,affectedProject:<projectLocator>— tests currently failing under the project specified with
projectLocatoris typed as ProjectLocator.
currentlyMuted:true,affectedProject:<projectLocator>— tests currently muted under the project specified (recursively). See also the project's Muted Problems tab.
includePersonal:true— include tests from personal builds.
For example, to list all tests for a given build with the ID
To get the test history for a given test named
To list a build's tests which were muted during the build run, use:
To list currently muted tests (muted since the failure), use:
List All Muted Tests and Build Problems
To retrieve a list of all muted entities, use:
To get specific mutes, use:
muteLocator is typed as MuteLocator. For example, to locate all muted tests under the
MyProject project, use:
Mute Test and Build Problems
To mute a given test or a build problem, POST a Mute to:
Unmute Test/Build Problem
To unmute a test or build problem, use: