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
String fullyQualifiedName= declaringType.getFullyQualifiedName();
		ILaunchConfiguration config = findLaunchConfiguration(
			mode, 
			method, 
			"",  
			fullyQualifiedName, 
			method.getElementName()
		);
		if (config == null) {
			config= createConfiguration(
				method.getJavaProject(),
				declaringType.getElementName()+"."+method.getElementName(), 
				fullyQualifiedName,
				"", 
				method.getElementName()
			);
		}
		launchConfiguration(mode, config);
	}
	protected void launchConfiguration(String mode, ILaunchConfiguration config) {
		if (config != null) {
			DebugUITools.launch(config, mode);
		}
	}
	
	/**
	 * Prompts the user to select a type
	 * 
	 * @return the selected type or <code>null</code> if none.
	 */