TestCaseLatestResult interface
The latest execution result for a single TestCaseId, returned by the batch "latest result per test case" API (POST testresults/results/latestresults). One instance is returned per requested TestCaseId that has at least one result in a non-deleted run; test cases that were never executed are omitted from the response.
Properties
| configuration |
Configuration that ran most recently for this test case. |
| date |
When the result completed. Null for in-progress results. |
| date |
When the result started. May be null. |
| outcome | The factual last execution outcome (e.g. "Passed", "Failed", "NotExecuted", "Blocked"). This is the stored result outcome and is not subject to ResetToActive suppression. |
| result |
Id of the latest result within the run. |
| run |
Id of the run that contains the latest result. |
| test |
The requested TestCaseId (work item id) this result belongs to. |
| test |
Test point via which the latest result ran. |
Property Details
configurationId
Configuration that ran most recently for this test case.
configurationId: number
Property Value
number
dateCompleted
When the result completed. Null for in-progress results.
dateCompleted: Date
Property Value
Date
dateStarted
When the result started. May be null.
dateStarted: Date
Property Value
Date
outcome
The factual last execution outcome (e.g. "Passed", "Failed", "NotExecuted", "Blocked"). This is the stored result outcome and is not subject to ResetToActive suppression.
outcome: string
Property Value
string
resultId
Id of the latest result within the run.
resultId: number
Property Value
number
runId
Id of the run that contains the latest result.
runId: number
Property Value
number
testCaseId
The requested TestCaseId (work item id) this result belongs to.
testCaseId: number
Property Value
number
testPointId
Test point via which the latest result ran.
testPointId: number
Property Value
number