Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jdt-ui-dev] JUnit View - result ordering

Hi Stewart

These are interesting ideas. For feature requests, please look for 
existing requests on https://bugs.eclipse.org/ , and if you don't find a 
match, file an individual enhancement requests for each feature at
https://bugs.eclipse.org/bugs/enter_bug.cgi?product=JDT&component=UI

>     - Include a 'Sort' button:
>         This is purely to sort the display of the results by packageand 
class
>         name.  i.e. to switch between "execution order" or "name order". 
This
>         could possibly be extended to other types of sorts e.g. 
"execution
>         duration order" etc.

See https://bugs.eclipse.org/bugs/show_bug.cgi?id=219466 .

>     - Include a 'Search' bar:
>         Rather than changing the display order of the results, simply 
provide
>         a search bar to be able to quickly find and entry by typing in 
the
>         package or class name etc.
> 
>     - Include a 'Filter' option:
>         Similar to the 'Show Failures Only' filter, but filtering by 
name.
>         Again, the execution order is not affected, but it simply makes 
it
>         easier to navigate through the results by typing in a package or 
class
>         name etc.

We don't plan to add fancy search tools just to the JUnit view. This 
should be done in a platform-wide fashion, see e.g.
https://bugs.eclipse.org/bugs/show_bug.cgi?id=69200 .

The only thing we could consider is a "Find..." action in the context 
menu, like in the Debug and Variables view.

>     - Include a 'Link with Editor' option:
>         Similar to the 'Link with Editor' between the 'Package Explorer' 
and
>         the 'Editor' pane. This way, if I navigated to the class and 
method
>         for a given test then, then the JUnit View could be positioned 
on that
>         test in the display of the result set.

That could be added. Note that the mapping will not be 100% reliable (can 
only work in those cases where double-clicking in the JUnit view already 
opens an editor).

Markus


Back to the top