Skip to main content

createSuite

client.autoTesting.createSuite(data: CreateTestSuiteRequest): Promise<TestSuite>

Creates a new test suite.

Defines a new collection of test cases that can be executed together.

Parameters

ParameterTypeRequiredDescription
dataCreateTestSuiteRequestYesThe test suite creation payload

Returns

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

Example

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

const client = new CodeBoltClient();

const result = await client.autoTesting.createSuite(/* CreateTestSuiteRequest */);
console.log(result);