Use this method to set the unique id of the batch.
You need to set the id explicitly if you want to batch tests that are run at different times or in different platforms or processes. For more information see Batching tests in a distributed environment
let value = batchInfo.setId(id); batchInfo.id = value; value = batchInfo.id;
Note that this feature is available as both a method and a property.
- The unique id of the batch. If not passed, or passed as null, and the environment variable APPLITOOLS_BATCH_ID is defined, then the value of the environment variable will be used as the id. If the environment variable is not defined then a unique internal id will be generated and used.
- Type: BatchInfo