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>
copyTestCases
▸ copyTestCases(dto
: TestCaseCopyDTO, options?
: { account?
: Account }): Promise<void>
Parameters:
Name | Type |
---|---|
dto | TestCaseCopyDTO |
options? | object |
options.account? | Account |
Returns: Promise<void>
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
deleteTestCase
▸ deleteTestCase(id
: string, options?
: { account?
: Account }): Promise<void>
Parameters:
Name | Type |
---|---|
id | string |
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:
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>