testsystem

Functions

GetTestRunResults

GetTestRunResults(runId: string, options?: { account?: Account }): Promise<TestCaseResultDTO[]>

Parameters:

NameType
runIdstring
options?object
options.account?Account

Returns: Promise<TestCaseResultDTO[]>


RunTestCases

RunTestCases(dto: TestCaseRunCreateDTO, options?: { account?: Account }): Promise<TestCaseRunResponseDTO>

Parameters:

NameType
dtoTestCaseRunCreateDTO
options?object
options.account?Account

Returns: Promise<TestCaseRunResponseDTO>


copyTestCases

copyTestCases(dto: TestCaseCopyDTO, options?: { account?: Account }): Promise<void>

Parameters:

NameType
dtoTestCaseCopyDTO
options?object
options.account?Account

Returns: Promise<void>


createTestCase

createTestCase(testCase: TestCaseCreateDTO, options?: { account?: Account }): Promise<TestCaseDTO>

Create a new test case

Parameters:

NameType
testCaseTestCaseCreateDTO
options?object
options.account?Account

Returns: Promise<TestCaseDTO>

the properties of a newly-created test case


deleteTestCase

deleteTestCase(id: string, options?: { account?: Account }): Promise<void>

Parameters:

NameType
idstring
options?object
options.account?Account

Returns: Promise<void>


listTestCases

listTestCases(promptId?: string, skip?: number, take?: number, options?: { account?: Account }): Promise<TestCaseDTO[]>

List of test cases

Parameters:

NameType
promptId?string
skip?number
take?number
options?object
options.account?Account

Returns: Promise<TestCaseDTO[]>

list of test cases


updateTestCase

updateTestCase(id: string, dto: TestCasePatchDTO, options?: { account?: Account }): Promise<TestCaseDTO>

Parameters:

NameType
idstring
dtoTestCasePatchDTO
options?object
options.account?Account

Returns: Promise<TestCaseDTO>

Found a mistake? Let us know.

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.