Bug 383124

Summary: [JUnit] provide reload / refresh button in JUnit View
Product: [Eclipse Project] JDT Reporter: Jörg von Frantzius <jfrantzius>
Component: UIAssignee: JDT-UI-Inbox <jdt-ui-inbox>
Status: ASSIGNED --- QA Contact:
Severity: enhancement    
Priority: P3 CC: markus.kell.r, pli-eclipse
Version: 3.8   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Jörg von Frantzius CLA 2012-06-20 12:02:45 EDT
Build Identifier: 

When the JUnit View is loaded from an XML file, there is now way of refreshing it directly once the XML got updated in the filesystem. This requires navigating to the file, right-click "Refresh" and once more "Open With" / "JUnit View".

That's very cumbersome when JUnit tests are run outside of Eclipse, e.g. via Maven.

The reload button should probably only be enabled when the view had been loaded from an XML file.

Reproducible: Always
Comment 1 Markus Keller CLA 2012-06-20 13:08:47 EDT
We could also do it via "File > Refresh" and/or in a new context menu action "Reload Imported Test File".

Currently, an imported TestRunSession doesn't know where it's coming from, so that information would have to be saved during the import.