Sending data to Launchable
First, follow the steps in the Getting started guide to sign up, set your API key, install the Launchable CLI, and verify your connection.
Then return to this page to complete the two steps for sending data to Launchable:
  1. 1.
    Recording Builds
  2. 2.
    Recording Test sessions
The diagram below diagrams the high-level data flow:

Recording builds

Each Test session is associated with a Build. In particular, Predictive Test Selection selects tests based on the Git changes in a build (among other data).
To send Git changes to Launchable, run launchable record build before you create a build in your CI script:
launchable record build --name <BUILD NAME> --source src=<PATH TO SOURCE>
  • With the --name option, you assign a unique identifier to this build. You will use this value later when you record test results. See Choosing a value for <BUILD NAME> for tips on choosing this value.
  • The --source option points to the local copy of the Git repository (or repositories) used to produce this build, such as . or src.

Recording test results

Launchable also uses your test results from each Test session to provide features.
To record tests to a test session, after running tests, point the CLI to your test report files to collect test results for the build.
Launchable uses the <BUILD NAME> value to connect the test results with the changes in the build:
launchable record tests --build <BUILD NAME> <TOOL NAME> <PATHS TO REPORT FILES>
This command varies slightly based on the test runner/build tool you use.
The CLI natively integrates with the tools below. Click on the link to view instructions specific to your tool:
After you record test results, you can view them in the Test Sessions section of the Launchable dashboard at app.launchableinc.com. The CLI will also output a link to view this session's test results in the dashboard.

Next steps

Once you've started sending your builds and test results to Launchable, you can
  1. 2.
    See Trends in your test sessions,
  2. 3.
  3. 4.
    Save time running tests and run tests earlier with Predictive Test Selection
Copy link
On this page
Recording builds
Recording test results
Next steps