Skip to main content

deleteSuite

client.autoTesting.deleteSuite(id: string): Promise<unknown>

Deletes a test suite.

Permanently removes the specified test suite. This does not delete the test cases themselves, only their association with the suite.

Parameters​

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the test suite to delete

Returns​

Promise<unknown> — A promise that resolves when the suite has been deleted

Example​

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

const client = new CodeBoltClient();

const result = await client.autoTesting.deleteSuite('id');
console.log(result);