Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 349257 - Open JUnit view from test failure link
Summary: Open JUnit view from test failure link
Status: CLOSED INVALID
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: m2e (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-13 21:34 EDT by Brock Janiczak CLA
Modified: 2021-04-19 13:21 EDT (History)
2 users (show)

See Also:


Attachments
Patch to open with junit view if possible (4.56 KB, patch)
2011-06-15 23:50 EDT, Brock Janiczak CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brock Janiczak CLA 2011-06-13 21:34:44 EDT
M2E currently has the ability to show test failures in a text editor when you click on the test name in the console.

I would like to extend this to display the JUnit view first if possible and display the text editor if no XML file is found.  A patch can be provided if needed, however i do know that this feature probably wouldn't work for people using TestNG
Comment 1 Brock Janiczak CLA 2011-06-15 23:50:42 EDT
Created attachment 198061 [details]
Patch to open with junit view if possible

I have added a simple patch that seems to work for me.  There should probably be checks to see if the content types aren't available (junit plugin not installed), but i can't see that ever being the case.  It could also try to fallback if the junit view fails to open
Comment 2 Igor Fedorenko CLA 2013-09-28 23:38:08 EDT
closing old/stale bugreports
Comment 3 Denis Roy CLA 2021-04-19 13:21:55 EDT
Moved to https://github.com/eclipse-m2e/m2e-core/issues/