Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 103103 - Extend test model for better test result viewing
Summary: Extend test model for better test result viewing
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Bianca Jiang CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
Depends on: 105681
Blocks: 89339 89341 89342 103549 103551 103555
  Show dependency tree
 
Reported: 2005-07-07 19:18 EDT by Bianca Jiang CLA
Modified: 2016-05-05 11:19 EDT (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bianca Jiang CLA 2005-07-07 19:18:18 EDT
An extension to the current test execution model is necessary for log viewer
(test execution result viewer) enhancements to provide easy test verdict
navigation (bug 89339), overview of test results summary as well as other
functionalities like searching (bug 89341), sorting (bug 89342), and filtering.
With the current test execution model, the whole execution history has to be
traversed to find one verdict event or all verdict events of a certain type
(pass/fail/error, etc.). Execution history models are often times very large
data models, and such traversal becomes unacceptable.  At a min. a list of
references to each verdict types should be available.
Comment 1 Bianca Jiang CLA 2005-07-08 10:21:14 EDT
This enhancement should be P1 since it's required by a bunch of other P1 
enhancement requests. For some reason, I'm not allowed to change it even as a 
submitter.
Comment 2 Ruth Lee CLA 2005-07-12 11:07:55 EDT
Deferring from 4.1 as per the official 4.1 enhancement plan.
http://eclipse.org/tptp/home/project_info/featureplans/features.php?source=All&project=All&release=4.1&file=TPTPFeatures_4.1.xml
Comment 3 Bianca Jiang CLA 2005-07-12 12:21:47 EDT
TPFExecutionEvent also should be extended to include test script path and line
number information to enable navigation back to test script.
Comment 4 Bianca Jiang CLA 2005-07-28 12:52:12 EDT
There are three model extensions within this enhancement:

1. An extension to the current test execution model is necessary to better
access test verdicts. This is needed to implement test verdict navigation and
test results summary. With the current test execution model, the whole execution
history model has to be traversed to find a verdict event or all verdict events
of a certain type (pass/fail/error, etc.). Execution history models are often
times very large data models, and such traversal becomes unacceptable.

2. Second model change is to extend TPFExecutionEvent to include test script
path and line number within the script. This can enable the function of
navigation from execution event back to test script.

3. Third model update is to provide n - 1 mapping from TPFVerdictReason
enumeration to TPFVerdict enumeration. This will enable verdict commonality
among products. 

For feature doc:
http://www.eclipse.org/tptp/groups/Architecture/documents/features/hf_103103.html
Comment 5 Bianca Jiang CLA 2005-10-06 17:09:57 EDT
1. Added TPFVerdictList class and a *derived* (i.e. transient, volatile and
non-changeable) containment reference from TPFExecutionResult to TPFVerdictList.

2. Added two new attributes to TPFExecutionEvent: scriptFileURI:String and
scriptLineNumber:long.

3. created Interface ITPFExtendedVerdictReason and two MapEntry:
TPFReasonToVerdictMapEntry and PFExtendedReasonToVerdictMapEntry for furture
support of verdict extensibility. (see class diagram under
common/testprofile/VerdictMap)
Comment 6 Paul Slauenwhite CLA 2009-06-30 08:13:25 EDT
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.