Bug 74962 - Provide Logical representation of test artifacts in Test Navigator
Summary: Provide Logical representation of test artifacts in Test Navigator
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P1 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Jerome Gout CLA
QA Contact:
URL:
Whiteboard:
Keywords: api, Documentation, PII, ui
: 76948 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-24 11:36 EDT by Wayne Ho CLA
Modified: 2016-05-05 10:33 EDT (History)
6 users (show)

See Also:


Attachments
Two test assets with the same name. (117.67 KB, image/jpeg)
2004-11-23 08:12 EST, Jerome Gout CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wayne Ho CLA 2004-09-24 11:36:08 EDT
This issue was raised during the Sept 15 Hyades UI Meeting:

The rationale behind the test navigator was not to show the filesystem; we
already have a navigator for this. Instead we would like the test navigator to
show a logical representation of the test artifacts in a meaningful way that is
easy for the user to understand. Currently, the UI is inconsistent in this
respect; some things show the filename while others show the logical name. We
want to be consistent throughout the navigator, so it was proposed to adopt the
logical view throughout the navigator. 

There were a few issues raised about this: 

1. Logical names are not necessarily unique; so how to guarantee that the
underlying filename would be unique. A proposed solution was to annotate the
logical name with some unique ID that would be used to construct the filename. 
2. There may be more than one test suite stored in a file, but there are
problems representing this in the UI. 

A few other comments that were made: 

- Logical names have more flexibility than filenames, as there are no character
restrictions, etc.
Comment 1 Wayne Ho CLA 2004-09-24 11:38:38 EDT
During usability studies for a product that uses the Test Navigator, users
experienced difficulties navigating the Test Navigator and locating results. 
Logical representation of artifacts can help by better organizing different
artifacts such as tests, test suites, test results, etc.
Comment 2 Jerome Gout CLA 2004-11-23 08:12:50 EST
Created attachment 16065 [details]
Two test assets with the same name.
Comment 3 Jerome Gout CLA 2004-11-23 08:14:53 EST
I think that using logical name in the navigator is the best choice.
IMHO the issues listed above do not really exist:

1. The filenames are entered in the first page of the new wizards and a check is
done to avoid multiple files with the same name.

2. If a test suite file contains more than one test suite object, these test
suite  are displayed as children of the test suite file node. Each of those test
suites is dsplayed using its name.

The unique problem that can occur using the logical name is:

A user can create two seperate asset files (test suites or whatever) with
different name containing objects that have the same name.

In such situation, the user can select one of those similar assets to show in
the status bar the name of the container file (see attachment).
Comment 4 Eugene Chan CLA 2004-12-06 12:40:25 EST
Propose to push this out of 3.2 and retarget to - for now, this feature will be
raised to the RG and get review there for the proposed new target 3.3
Comment 5 Wayne Ho CLA 2004-12-06 15:34:04 EST
Updating this description from the Dec 1, 2004 TPTP UI Meeting:

This feature still consists of two realted items to improve the user experience:
1. Use of logical names
2. Logical organization of test artifacts

(1) It was agreed that Bug 71745 did address the use of logical names in the
Test Navigator, but it was determined that there was still a need to simplify
the UI around the wizards (i.e., no longer prompt users for both a file name and
a (logical) name, rather only prompt users for the (logical) name and
under-the-covers create/map a file name; it is still necessary to show users the
mapping to the file name in the wizard and potentially via a properties dialog
for the test artifact).  It was decided to keep 71745 closed and to clarify Bug
74962 to reflect point 2 as this work has a large impact on the wizards and is
not containable for 3.2i2 (as part of bug 71745). 

(2) Design discussion is still required to define how to improve the
organization of the Test Navigator and to consider whether multiple
organizations (and an ability to switch between organizations) is helpful.
Comment 6 Dominique Guilbaud CLA 2004-12-09 10:54:45 EST
*** Bug 76948 has been marked as a duplicate of this bug. ***
Comment 7 Wayne Ho CLA 2005-01-26 18:02:18 EST
Since Bug 76948 has been marked as a duplicate of this feature, should this
feature be targeted for 4.0?

The logical test navigator feature (Bug 76948) was marked as committed for 4.0
in the TPTP Features list.

I would think this bugzilla should now reflect the 4.0 target.  Either that or
Bug 76948 should be kept open and this Bug marked as duplicate.
Comment 8 Jerome Gout CLA 2005-01-27 03:14:18 EST
Wayne,
Should we align the content of this TPTP feature with the design provided by UTUX ?
Comment 9 Jerome Gout CLA 2005-03-21 03:08:32 EST
Fixed.
The logical view of the test navigator has been released.
Two new extension points have been added to allow customization of this view.
 - org.eclipse.hyades.test.ui.testNavigatorTypeProvider allows clients to
specify a way to freely populate thier type container (the type should have been
declared has a Test type using the extension point
org.eclipse.hyades.ui.typeDescriptions)
 - org.eclipse.hyades.test.ui.testnavigatorTestAssetGroupProxy allows to
customize the way that the test navigator gather the test assets of a same kind
(the kind of the test asset is given by the extension of their files).
Comment 10 Paul Slauenwhite CLA 2006-11-16 08:58:17 EST
ACTION: Please verify/close this defect.
Comment 11 Jerome Gout CLA 2006-11-16 09:54:40 EST
closing