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>


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


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? Email us, and we'll send you a free t-shirt!

Enroll in beta

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