Bug 7838 - [Req] Copy to clipboard from Junit View
Summary: [Req] Copy to clipboard from Junit View
Status: RESOLVED WORKSFORME
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P4 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Erich Gamma CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2002-01-17 10:28 EST by Christophe Elek CLA
Modified: 2004-01-03 17:04 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe Elek CLA 2002-01-17 10:28:51 EST
Dunno if this is the correct component

Want:
Ability to copy and paste result of JUnit execution, or somehow to export them
in a Text file.
Comment 1 Erich Gamma CLA 2002-01-18 02:51:41 EST
JUnit is part of JDT so this is the right place.

What you can do in the latest is to copy a stack trace of a failure to the 
clipboard.

However, I think you want to have a textual represention of a text run copied 
to the clipboard (e.g. in the style of the junit.textrunner)? 

Comment 2 Christophe Elek CLA 2002-01-18 08:16:23 EST
You are right, here is my scenario..

I run my Test bucket (60 tests) and let's say 45 fail.
I go to teh first testcase, fix it, and run the individual test. (I do not want 
to run teh 59 other...)
Now I lost the stack trace of the 44 other which fail and I have to run teh 
Test Buck again

What I want to do, is keep the trace somewhere, so I can now select each 
failing test... the text representation will help me
the best of course whould be to keep the contaxt of the firs Test Bucket I ran, 
so I can *double click* on the next failure so it opens the Java Editor at the 
right place..

Not sure if I made myself clear ;-)
Comment 3 Erich Gamma CLA 2002-01-29 19:34:07 EST
you made yourself clear and the request makes sense. This is an excellent third 
party opportunity and marked bug as help wanted.
Comment 4 Sebastian Davids CLA 2003-09-26 09:39:33 EDT
see fix in 36352
Comment 5 Erich Gamma CLA 2004-01-03 17:04:33 EST
sebastian's patch for bug 36352 will improve this even further. In the current 
version you can execute "Copy Failure List" (this will include the stack 
traces of failed tests)