TeamCity REST API Reference 2024.07 Help

Tests

Represents a paginated list of Test entities.

Properties

Field

Data type

count

integer

myTestCounters

TestCounters

nextHref

string

prevHref

string

test

List<Test>

Schema

Below, you can find a full schema of this object, in XML and JSON formats. You can choose what fields to submit depending on your current needs. Different methods might expect different fields: the best approach is to request this entity via GET and use the response as a base for the following POST request.

A link to another object implies that you can substitute it with the schema of the linked object, if it is required for your call.

<tests count="123" nextHref="string" prevHref="string"> <myTestCounters all="123" duration="123456789" failed="123" ignored="123" muted="123" newFailed="123" success="123"/> <test>[[[test...|test.html]]]</test> </tests>
{ "test" : [ { "testOccurrences" : "[[[testOccurrences...|testoccurrences.html]]]", "name" : "name", "investigations" : "[[[investigations...|investigations.html]]]", "parsedTestName" : "[[[ParsedTestName...|parsedtestname.html]]]", "id" : "id", "href" : "href", "mutes" : "[[[mutes...|mutes.html]]]", "locator" : "locator" } ], "count" : 4, "myTestCounters" : { "all" : 9, "duration" : 0, "ignored" : 8, "newFailed" : 8, "success" : 3, "failed" : 9, "muted" : 1 }, "prevHref" : "prevHref", "nextHref" : "nextHref" }
Last modified: 04 July 2024