Extensions.TestResultHandling.AddInfoToTestResult
Jump to navigation
Jump to search
Classification
Name | AddInfoToTestResult |
Short Description | adds additional information to a TestResultContainer within a TestResultSession |
Class | Action |
Extension | OTX TestResultHandling extension |
Group | TestResultHandling related Actions |
Exceptions | testResult:TestResultContainerException testResult:TestResultException testResult:TestResultSessionException |
Checker Rules | - |
Standard Compliant | Yes |
OTL Syntax
ActionRealisation TestResultHandling.AddInfoToTestResult(TestResultSessionTerm testResultSession, TestResultContainerTerm testResultContainer, StringTerm information);
Description
The AddFileToTestResult action adds a file to a TestResultContainer within a TestResultSession by defining the file path. The use case is adding files after evaluating the test result, e.g. adding a CAN trace file in case of a NOT_OK TestResultState.
Properties
Name | Data Type | Class | Default | Cardinality | Description |
testResultSession | testResult:TestResultSession | Term | - | [1..1] | The TestResultSession in which the test results are to be handled. |
testResultContainer | testResult:TestResultContainer | Term | - | [1..1] | The TestResultContainer which will receive the additional information. |
information | otx:String | Term | - | [1..1] | The textual information which will be added. |