Bug 81414 unhelpful generated JUNIT run configuration name for source folder unit-test runs
If you rightclick source folders and run unit tests, a Junit run configuration is created for that run. The name of this configuration is: "test (%NR)" where %nr is an incrementing number. I suggest the following run configuration name: "junit %project-name %source- folder-name" so for the project myXml and folder: src/test the generated name would be "junit myXml src/test" Cheers, Erik
org.eclipse.jdt.junit/src/org/eclipse/jdt/internal/junit/launcher/JUnitLaunchShortcut.java
/**
	 * @see ILaunchShortcut#launch(IEditorPart, String)
	 */
	public void launch(IEditorPart editor, String mode) {
		IJavaElement element= null;
		IEditorInput input = editor.getEditorInput();
		element = (IJavaElement) input.getAdapter(IJavaElement.class);
		if (element != null) {
			searchAndLaunch(new Object[] {element}, mode);
		} 
	}
	
	/**
	 * @see ILaunchShortcut#launch(ISelection, String)
	 */
	public void launch(ISelection selection, String mode) {
		if (selection instanceof IStructuredSelection) {
			searchAndLaunch(((IStructuredSelection)selection).toArray(), mode);