Extensions.TestResultHandling

From emotive
Revision as of 09:15, 15 November 2019 by Nb (talk | contribs) (Edited by Ngoc Tran.)
Jump to navigation Jump to search

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