Bug 61265 - Launch configuration only works on first test suite in list
Summary: Launch configuration only works on first test suite in list
Status: CLOSED WORKSFORME
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Hyades (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 2000
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Julien Canches CLA
QA Contact:
URL:
Whiteboard: closed460
Keywords:
: 63731 (view as bug list)
Depends on: 58013 61727
Blocks:
  Show dependency tree
 
Reported: 2004-05-06 13:46 EDT by Todd Merriweather CLA
Modified: 2012-02-15 13:46 EST (History)
1 user (show)

See Also:


Attachments
screenshot of launch config problem (65.97 KB, image/jpeg)
2004-05-06 13:48 EDT, Todd Merriweather CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Todd Merriweather CLA 2004-05-06 13:46:22 EDT
When running a Hyades test, Junit or URL, using the new launch configuration 
for the test perspective I can only run the first test in the list reliably.  
When any other test is run, an execution history file is created but it doesn't 
have the correct results and contains the name of the first test in the launch 
configuration list.

I will attach a screenshot of the problem that I see.
Comment 1 Todd Merriweather CLA 2004-05-06 13:48:14 EDT
Created attachment 10362 [details]
screenshot of launch config problem
Comment 2 Todd Merriweather CLA 2004-05-06 15:59:44 EDT
Correction: launch config only works on the first test suite that is run, it 
doesn't matter where it shows up in the list.
Comment 3 Julien Canches CLA 2004-05-11 09:53:39 EDT
There seems to be two different problems that make the situation confusing,
though I don't think there is a bug under this:
1) The name of the Test Execution Result (i.e. the one that appears when you
open a .execution file, which is also shown as the unique child of an Execution
node in the Test Navigator) is the one that is chosen in the "Execution Results"
tab. By default, the "Name" field in this tab reflects the selected Test's name.
That is to say, if you select the test "Jibe" in the "Test" tab, the "Name"
field in the "Execution Results" tab contains "Jibe". If you go back to the
first tab and select the test "cnn", the field "Name" in the second tab contains
"cnn". BUT: if you edit the field "Name" and choose another name (for instance
"foo"), this field is no more automically modified when you change the selected
Test in the first tab. This means that once you have edited this field, it is no
more automatically updated, and if you type "Jibe" in that field, even if you
select test "cnn" in the first tab, the execution results name will be "Jibe".
This problem doesn't happen if you don't modify the "Name" by default (you can
check this by deleting your Launch Configuration and re-create one).
2) The file name of the execution file is named by the TEH according to the Test
Suite's file name. That is to say, if you run a Test Suite named "Jibe" but
stored in "test1.testsuite", the execution file is named
"test1_xxxxxxxx.execution". I think the solution to this problem is to name the
.execution file according to what was selected in the Launch Configuration,
instead of following the Test Suite file name.
Comment 4 Julien Canches CLA 2004-05-11 10:09:51 EDT
I forgot to mention that I did not reproduce the problem with the second test
launched containing incorrect results. I ran two tests, using the same Launch
Configuration, and both executed and all the expected Test Cases appeared in the
Test Navigator.
Comment 5 Julien Canches CLA 2004-05-11 10:12:54 EDT
About the confusing problems that may lead to this situation, I entered a defect
and an enhancement request. See dependencies.
Comment 6 Dominique Guilbaud CLA 2005-01-24 09:45:27 EST
*** Bug 63731 has been marked as a duplicate of this bug. ***
Comment 7 Paul Slauenwhite CLA 2009-06-30 12:41:59 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.