Overview
Thesetup-trunk-uploads tool helps configure test result uploads for Trunk Flaky Tests. This tool provides step-by-step instructions tailored to your specific test framework and CI provider combination.
The tool guides you through a 4-step process:
- Configure Test Framework - Modify your test configuration to output JUnit XML reports
- Run Tests - Execute at least one test to generate reports
- Test Upload - Manually upload a test report to verify connectivity
- Configure CI - Set up automated uploads in your CI pipeline
Return Type: Structured setup plan to generate test reports and upload to Trunk. Structure: project analysis and setup plan
Parameters
This agent needs to be called once per test framework used in your repository. If your repository uses multiple test frameworks (e.g., Jest for frontend, pytest for backend), call this tool once for each framework with the same
ci_provider.Required Parameters
Supported values
Test Frameworks
android- Android testing frameworkbazel- Bazel test runnerbehave- Behave (Python BDD) testing frameworkcypress- Cypress end-to-end testingdart-test- Dart Test frameworkgotestsum- Go testing with gotestsumgoogletest- GoogleTest (C++) frameworkgradle- Gradle test runnerjasmine- Jasmine testing frameworkjest- Jest testing frameworkkarma- Karma test runnerkotest- Kotest (Kotlin) testing frameworkmaven- Maven Surefire/Failsafe testingminitest- Ruby minitest frameworkmocha- Mocha testing frameworknightwatch- Nightwatch end-to-end testingnunit- NUnit (.NET) testing frameworkphpunit- PHPUnit testing frameworkplaywright- Playwright testing frameworkpytest- Python pytest frameworkrobot-framework- Robot Frameworkrspec- Ruby RSpec testing frameworkrust- Rust testing with cargo-nextestswift-testing- Swift Testing frameworkvitest- Vitest testing frameworkxctest- Xcode XCTest framework
CI Providers
azure-devops-pipeline- Azure DevOps Pipelinesbitbucket-pipeline- Bitbucket Pipelinesbuildkite- Buildkite pipelinescircleci- CircleCI pipelinesdrone- Drone CIgithub- GitHub Actionsgitlab- GitLab CI/CDjenkins- Jenkinssemaphore- Semaphore CItravis- Travis CIother- Other CI providers (manual configuration)