Skip to main content

Overview

The list-test-collections tool lists the test collections a repository uploads test results to. A repository’s tests can be split across several collections, by language, suite, or product area, and each holds different tests. Use this tool to find a collection’s ID, then pass it to search-test to search only that collection. Return Type: Each collection’s Collection ID, name, and first and last upload time, most recently uploaded first.

Parameters

Required Parameters

Optional Parameters

Only collections the repository has uploaded to in the last 45 days are listed. A collection that has not received an upload from the repository in that time is not shown.

Getting Parameter Values

If your AI assistant doesn’t have direct access to Git information, use these commands: Get repository name:
Look for the repository name in the output (e.g., trunk-io/trunk from git@github.com:trunk-io/trunk.git)

Usage Examples

List collections

Error Handling