getTestContainers

@GET(value = "api/tests/containers")
abstract suspend fun getTestContainers(@Query(value = "container") container: String = "*", @Query(value = "testOutcomes") testOutcomes: List<TestOutcome>, @Query(value = "query") query: String, @Query(value = "include") include: List<TestIncludeFields>? = null): TestsResponse

Get a list of test containers. Returns the list of test containers. Responses:

  • 200: A list of test containers.

  • 400: The request cannot be fulfilled due to a problem.

  • 500: The server encountered an unexpected error.

Return

TestsResponse

Parameters

container

Allows restricting the search to parts of the test container hierarchy. You can use wildcards to match a specific subpackage. (default to "*")

testOutcomes

Allows restricting the search to tests that had at least one instance of the given outcome.

query

A query for filtering tests, written in the Develocity advanced search query language See: https://gradle.com/help/enterprise-advanced-search

include

Controls which optional fields are included in the response. (optional)