Skip to main content

createRun

client.autoTesting.createRun(data: CreateTestRunRequest): Promise<TestRun>

Creates a new test run.

Initiates an execution of one or more test suites or cases, tracking the results as they complete.

Parameters

ParameterTypeRequiredDescription
dataCreateTestRunRequestYesThe test run creation payload

Returns

Promise<TestRun> — A promise that resolves to the newly created TestRun

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.autoTesting.createRun(/* CreateTestRunRequest */);
console.log(result);