Skip to main content

listSuites

client.autoTesting.listSuites(params?: Record<string, unknown>): Promise<TestSuite[]>

Retrieves all test suites.

Returns the complete list of test suites, which are collections of related test cases grouped for organized execution.

Parameters

ParameterTypeRequiredDescription
paramsRecord<string, unknown>NoOptional query parameters for filtering or pagination

Returns

Promise<TestSuite[]> — A promise that resolves to an array of TestSuite objects

Example

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

const client = new CodeBoltClient();

const result = await client.autoTesting.listSuites();
console.log(result);