Difference between revisions of "Extensions.TestResultHandling"

From emotive
Jump to navigation Jump to search
(Created by Ngoc Tran.)
 
(Edited by Ngoc Tran.)
Line 13: Line 13:
 
⎯ Multilingual test result texts <br />
 
⎯ Multilingual test result texts <br />
 
⎯ Simultaneous working with several test instances (e.g. several vehicles)  <br />
 
⎯ Simultaneous working with several test instances (e.g. several vehicles)  <br />
Similar to the OTX [[Extensions.Logging|Logging]] extension, the OTX [[Extensions.TestResultHandling|TestResultHandling]] extension uses so called [[Extensions.TestResultHandling.TestResultSeverities|TestResultSeverities]] which are associated to test results, and [[Extensions.TestResultHandling.TestResultHandlingLevels|TestResultHandlingLevels]] which can be set in the test result handling framework. Depending on the currently set [[Extensions.TestResultHandling.TestResultHandlingLevel|TestResultHandlingLevel]] and the [[Extensions.TestResultHandling.TestResultSeverity|TestResultSeverity]] of a test result, the test result gets tracked or is discarded. For that reason, a [[Extensions.TestResultHandling.TestResultHandlingLevel|TestResultHandlingLevel]] represents a certain threshold which must be exceeded by the [[Extensions.TestResultHandling.TestResultSeverity|TestResultSeverity]] of a test result in order to be written into the persistence layer. <br />
+
Similar to the OTX [[Extensions.Logging|Logging]] extension, the OTX [[Extensions.TestResultHandling|TestResultHandling]] extension uses so called [[Extensions.TestResultHandling.TestResultSeverity|TestResultSeverities]] which are associated to test results, and [[Extensions.TestResultHandling.TestResultHandlingLevel|TestResultHandlingLevels]] which can be set in the test result handling framework. Depending on the currently set [[Extensions.TestResultHandling.TestResultHandlingLevel|TestResultHandlingLevel]] and the [[Extensions.TestResultHandling.TestResultSeverity|TestResultSeverity]] of a test result, the test result gets tracked or is discarded. For that reason, a [[Extensions.TestResultHandling.TestResultHandlingLevel|TestResultHandlingLevel]] represents a certain threshold which must be exceeded by the [[Extensions.TestResultHandling.TestResultSeverity|TestResultSeverity]] of a test result in order to be written into the persistence layer. <br />
 
Each test result has a [[Extensions.TestResultHandling.TestResultState|TestResultState]] which indicates whether the evaluation of the test result against the defined condition was successful.
 
Each test result has a [[Extensions.TestResultHandling.TestResultState|TestResultState]] which indicates whether the evaluation of the test result against the defined condition was successful.
  

Revision as of 09:15, 15 November 2019

Classification

Name TestResultHandling
Short Description Evaluated and structured storage of result Information (e.g. for statistics) from test sequences
Class OTX Extension
Base Extension OTX Quantities Extension
Pre-Conditions -
Specified by ISO 13209-4

Introductions

The OTX TestResultHandling extension provides functionality which allows for capturing, evaluating and persistently writing test results of test sequences, e.g. measured values, in a structured way.
The following use cases are considered:
⎯ Capturing of test results in relation to the environment (e.g. test object , test identifier, date/time)
⎯ Evaluation of test result data against defined conditions
⎯ Using a data model for structured persisting of test results
⎯ Summarizing of test results in groups according to the data model
⎯ Defining different test result levels (e.g. test results exclusively for debugging tasks)
⎯ Multilingual test result texts
⎯ Simultaneous working with several test instances (e.g. several vehicles)
Similar to the OTX Logging extension, the OTX TestResultHandling extension uses so called TestResultSeverities which are associated to test results, and TestResultHandlingLevels which can be set in the test result handling framework. Depending on the currently set TestResultHandlingLevel and the TestResultSeverity of a test result, the test result gets tracked or is discarded. For that reason, a TestResultHandlingLevel represents a certain threshold which must be exceeded by the TestResultSeverity of a test result in order to be written into the persistence layer.
Each test result has a TestResultState which indicates whether the evaluation of the test result against the defined condition was successful.

Actions

AddFileToTestResult
AddInfoToTestResult
CloseTestResultSession
MultipleLimit
MultipleOrSingleLimit
SetDtcTestResult
SetEqualityTestResult
SetListTestResult
SetMapTestResult
SetTestResult
SetTestResultHandlingLevel
SetToleranceTestResult
SetValueTestResult

Terms

GetTestResultContainerByName
GetTestResultSession
GetTestResultState

Data Types

An otx:ComplexType
TestResultContainer
TestResultSession
An otx:SimpleType
TestResultState
TestResultHandlingLevel
TestResultSeverity

Exceptions

TestResultContainerException
TestResultException
TestResultHandlingException
TestResultSaveException
TestResultSessionException

Checker rules

TestResultHandling_Chk001 Type safe list comparison
TestResultHandling_Chk002 Incorrect list type for DTC's list
TestResultHandling_Chk003 Incorrect element types for properties map
TestResultHandling_Chk004 Incorrect list type for SetListTestResult
TestResultHandling_Chk005 Incorrect map type for SetMapTestResult