Overview
Thesearch-test tool looks up a test by part of its name, class, or file. It searches the repository’s tests and, if your organization uses test collections, the repository’s tests in every collection.
Return Type: Metadata about each matching test, including its ID and status. Results from test collections are listed in their own section, with the test’s ID, its Collection ID, and whether it is quarantined.
Parameters
Required Parameters
Optional Parameters
Which tests are searched
The tool searches the repository’s tests in every test collection. PassingtestCollectionShortId searches only that collection.
Getting Parameter Values
If your AI assistant doesn’t have direct access to Git information, use these commands: Get repository name:trunk-io/trunk from git@github.com:trunk-io/trunk.git)