Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 114799 - [Usability] Converting standard JUnit tests to TPTP JUnit test suites is not intuitive.
Summary: [Usability] Converting standard JUnit tests to TPTP JUnit test suites is not ...
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: TPTP (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 normal (vote)
Target Milestone: ---   Edit
Assignee: Jerome Gout CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 90628
Blocks:
  Show dependency tree
 
Reported: 2005-11-02 12:53 EST by Paul Slauenwhite CLA
Modified: 2016-05-05 11:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Slauenwhite CLA 2005-11-02 12:53:47 EST
[Usability] Converting standard JUnit tests to TPTP JUnit test suites is not 
intuitive.

When converting standard JUnit tests to TPTP JUnit test suites, the following 
usability issues exist:

1) The action of converting standard JUnit tests to TPTP JUnit test suites is 
an import action and not a 'convert' action, as such.  Consider creating a 
context menu for Java/JUnit classes in the JDT to create a TPTP JUnit test 
suite.  Of course, multiple selection would be required.

2) The two types of JUnit tests (JUnit and JUnit plugin) supported by this 
action, have separate import wizards.  Consider using the same import or 
context menu wizard with a drop-down or something for the user to select the 
type of generate JUnit test suite.  This would be beneficial for feature 
#74791. 

See defects #113480 and #74791 for background information.
Comment 1 Julien Canches CLA 2005-11-04 05:24:12 EST
About point 1: I am fine with adding a context menu to JUnit classes (since a
JUnit class is what the user initially has), but I think we need to discuss
whether 'convert' is the appropriate word to describe what the wizard does.
After the wizard has been applied to a JUnit test, the user can still keep
working with it in the Java perspective, with the JDT tooling. The JUnit test is
not modified in any way. The only result of the wizard is that the same JUnit
test is now recognized as a test by the TPTP framework. This is visually
identified by the presence of the JUnit test in the test navigator. So it can be
run using TPTP.
'Convert' would make the user believe that the test will be either modified
in-place by TPTP, or that this test will be copied and transformed, and that the
original JUnit test is not used at all by TPTP. None of these beliefs are true.
So, unless someone suggests a better verb, I think "import" is more accurate
than "convert" to describe what the wizard does.
Comment 2 Paul Slauenwhite CLA 2005-11-04 09:23:35 EST
(In reply to comment #1)

Agreed.  How about 'create'?

Wayne:  Any comments?
Comment 3 Paul Slauenwhite CLA 2005-12-16 15:53:19 EST
Consider the following:

-In the File >> New >> Other... >> Test >> TPTP JUnit Test wizard, allow the user to select one or more existing JUnit test classes.  The wizard would create a TPTP JUnit test suite for each JUnit test class selected by the user.  This would allow the removal of the File >> Import... >> JUnit test to TPTP.
-Modify the TPTP JUnit runner to run JUnit tests.  When the user selects a JUnit test, create a temporary TPTP JUnit test suite for deployment and execution.
Comment 4 Julien Canches CLA 2006-02-17 09:19:07 EST
We will retain the second suggestion. Due to the amount of tasks required and lack of resource, retargetting to future.
Comment 5 Julien Canches CLA 2006-06-19 11:38:49 EDT
Triaging.
Comment 6 Julien Canches CLA 2006-10-20 05:08:50 EDT
Based on priority and available resources, this defect is considered for deferral from 4.3.  If you object to this deferral, please provide a comment
ASAP explaining the reason that you need this in 4.3 and we will take that
into consideration.
Comment 7 Paul Slauenwhite CLA 2006-10-20 14:53:08 EDT
Please target to 4.4 since all non-blocking/critical defects will be deferred as decided in today's AG call.
Comment 8 Paul Slauenwhite CLA 2007-01-16 10:26:08 EST
Reassigning to the component leads to triage for 4.4.
Comment 9 Jerome Gout CLA 2007-01-16 11:33:35 EST
This defect is covered by the 4.3 test feature #90628.

Feel free to reopen if this is not the case.
Comment 10 Paul Slauenwhite CLA 2007-06-02 14:50:59 EDT
Reporter: Please verify and close in preparation for shutting down the TPTP 4.4 release.  Thanks.
Comment 11 Paul Slauenwhite CLA 2007-06-27 13:18:42 EDT
Closing by default since not verified/closed by the originator in the 6+ months since being resolved.  

Please reopen if the issue is still present in the latest TPTP release or the
resolution is not correct.