testsystem
Functions
GetTestRunResults
▸ GetTestRunResults(runId
: string, options?
: { account?
: Account }): Promise<TestCaseResultDTO[]>
Parameters:
Name | Type |
---|---|
runId | string |
options? | object |
options.account? | Account |
Returns: Promise<TestCaseResultDTO[]>
RunTestCases
▸ RunTestCases(dto
: TestCaseRunCreateDTO, options?
: { account?
: Account }): Promise<TestCaseRunResponseDTO>
Parameters:
Name | Type |
---|---|
dto | TestCaseRunCreateDTO |
options? | object |
options.account? | Account |
Returns: Promise<TestCaseRunResponseDTO>
createTestCase
▸ createTestCase(testCase
: TestCaseCreateDTO, options?
: { account?
: Account }): Promise<TestCaseDTO>
Create a new test case
Parameters:
Name | Type |
---|---|
testCase | TestCaseCreateDTO |
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:
Name | Type |
---|---|
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:
Name | Type |
---|---|
id | string |
dto | TestCasePatchDTO |
options? | object |
options.account? | Account |
Returns: Promise<TestCaseDTO>