Summary: | [JUnit] Optionally import test results after completed ANT job | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Johan Walles <johan.walles> |
Component: | UI | Assignee: | JDT-UI-Inbox <jdt-ui-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P3 | CC: | markus.kell.r |
Version: | 3.3.1 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Johan Walles
2007-10-19 08:32:55 EDT
> I wouldn't mind having to fill in something in the Eclipse ANT job description
> for this to work. Checking a box and telling Eclipse which file it should
> import after running the tests would be fine.
The difficult part is where to put this option. Ant build launch configurations can be used for anything, and we can't pollute all Ant launch config dialogs with a rarely-used JUnit tab.
A way out could be a general "Open this file after the Ant build" facility (e.g. on the Refresh) tab, and JDT/JUnit registering an IEditorLauncher that opens test result files in the JUnit view.
I really don't know how Eclipse works so this might be the worst idea ever, but how about having the JUnit UI behave like an editor: 0. I run my JUnit tests through ANT once. 1. I load the test results file into the JUnit UI. 2. I run my JUnit tests through ANT once more. 3. The JUnit UI notices that the file it loaded has changed on disk, and reads it again. |