Test Collections let you group tests from any repository into named sets. Use collections to focus on a subset of your test suite, such as tests owned by a specific team, tests covering a critical service, or any grouping that matters to your workflow. Each collection has its own view of tests, uploads, and settings, separate from the full test suite view.Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-test-collections-docs.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Create a collection
Only organization admins can create collections.- Navigate to Flaky Tests > Collections in the Trunk web app.
- Click Create Collection.
- Enter a Name and optional Description.
- Click Create collection.
Upload tests to a collection
To populate a collection with test data, include the collection’s short ID in your uploader configuration. The collection short ID appears in the URL when viewing the collection:View collection tests and uploads
Once tests are uploaded to a collection, the Tests and Uploads tabs become active on the collection detail page.- Overview tab: Shows setup instructions and the upload configuration for this collection.
- Tests tab: Shows all tests associated with this collection, with their flaky status, failure rates, and labels.
- Uploads tab: Shows the history of test uploads sent to this collection.
Edit a collection
Only organization admins can edit collection settings.- Navigate to the collection detail page.
- Click the Settings tab.
- Update the Name or Description.
- Click Save changes.
Delete a collection
Only organization admins can delete collections.- Navigate to the collection’s Settings tab.
- Click Delete collection.
- Confirm deletion in the dialog.
Collection-level quarantining
Each collection has its own quarantining settings that override the repository-level settings for any uploads routed to that collection. This lets you apply a different quarantine policy to a critical collection than to the rest of your suite — for example, aggressive auto-quarantining for one group and none for another. Configure it from the collection’s Settings > Quarantining tab. See Collection-level quarantining settings for the available toggles and how the override behaves.Permissions
| Action | Admin | Member |
|---|---|---|
| View collections | Yes | Yes |
| Create collection | Yes | No |
| Edit collection settings | Yes | No |
| Delete collection | Yes | No |