launchable subset
along with:launchable subset
will get a subset from the Launchable platform and output that list to a text filelaunchable record tests
).launchable record tests
).--confidence
)--confidence 90%
, Launchable will populate the subset with relevant tests up to the corresponding expected duration value on the x-axis. For example, if the corresponding duration value for 90% confidence is 3 minutes, Launchable will populate the subset with up to 3 minutes of the most relevant tests for the changes in that build. This is useful to start with because the duration should decrease over time as Launchable learns more about your changes and tests.--time
)--time 10m
, Launchable will populate the subset with up to 10 minutes of the most relevant tests for the changes in that build. This is useful if you have a maximum test runtime in mind.--target
)--target 20%
, Launchable will populate the subset with 20% of the expected duration of the most relevant tests. For example, if the expected duration of the full list of tests passed to launchable subset
is 100 minutes, Launchable will return up to 20 minutes of the most relevant tests for the changes in that build. This is useful if your test runs vary in duration.launchable subset
. Here's an example using Ruby/minitest and --confidence
:--build
option should use the same <BUILD NAME>
value that you used in launchable record build
.launchable-subset.txt
that you can pass into your command to run tests:raw
profile for custom test runners, or request a plugin.launchable inspect subset
to inspect the details of a specific subset, including rank and expected duration. This is useful for verifying that you passed the correct tests or test directory path(s) into launchable subset
.launchable subset
includes a tip to run launchable inspect subset
:.001
seconds were not recognized by Launchablelaunchable inspect subset
will output a prioritized list of test classes. Similarly, since Cypress can accept a list of test files as input, launchable inspect subset
will output a list of prioritized test files. (And so on.)launchable-subset.txt
) and the remainder (launchable-remainder.txt
) using the --rest
option. Here we're using Ruby and minitest:launchable-subset.txt
and launchable-remainder.txt
that you can pass into your command to run tests in two stages. Again, using Ruby as an example:launchable subset
with the --split
option. Instead of outputting a list of tests, the command will output a subset ID that you should save and pass into each runner.launchable split-subset
with:--subset-id
option set to the ID you saved earlier, and--bin
value set to bin-number/bin-count
.launchable record tests
with the --subset-id
option set to the ID you saved earlier.