Bug 112913 - Improve change tracking between TestSuite models and JUnit source code
Summary: Improve change tracking between TestSuite models and JUnit source code
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Julien Canches CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-18 05:48 EDT by Julien Canches CLA
Modified: 2016-05-05 11:00 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Canches CLA 2005-10-18 05:48:29 EDT
The link between a .testsuite model and its related JUnit source is recorded
using eclipse markers (so the model may be updated whenever the code is modified).
This link is lost when an existing project with Junit test is imported to a new
workspace (because markers are not included in the project). The consequence is
that the test model is no longer updated when a change is made to the code.
This link is also lost if the user manually move the .testsuite model to another
directory (in the same project or in another project).

The current work-around is to go to the test suite editor, and save the test
suite model again, so the link is set up again.

This should be improved so the links between test suite models and the source
code are automatically computed upon the import of a project.
Comment 1 Julien Canches CLA 2006-03-23 09:05:53 EST
Implemented. Covered use cases are: 1) importing an existing project with TPTP Junit tests (e.g. importing a project to the workspace, or checking out a project from CVS), 2) moving a .testsuite file within the workspace.
Due to a bug (see #130825) in the registry reader the TPTP JUnit builder is ignored in eclipse builds older than 20060313. Must be validated in a more recent build.
Comment 2 Paul Slauenwhite CLA 2006-11-16 08:59:50 EST
ACTION: Please verify/close this defect.
Comment 3 Julien Canches CLA 2006-11-16 09:36:39 EST
Verified on TPTP-4.3.0-200611070100 driver.