Skip to main content

listCases

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

Retrieves all test cases.

Returns every test case in the system, regardless of suite membership.

Parameters

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

Returns

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

Example

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

const client = new CodeBoltClient();

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