Bug 546275 - Option to not show JUnit tests in recent launch configs
Summary: Option to not show JUnit tests in recent launch configs
Status: RESOLVED WORKSFORME
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.11   Edit
Hardware: PC Linux
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Debug-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2019-04-10 04:53 EDT by Jonas Hungershausen CLA
Modified: 2019-04-14 15:00 EDT (History)
1 user (show)

See Also:


Attachments
JUnit launch configurations (58.08 KB, image/png)
2019-04-10 04:53 EDT, Jonas Hungershausen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Hungershausen CLA 2019-04-10 04:53:49 EDT
Created attachment 278195 [details]
JUnit launch configurations

I'm running lot's of JUnit tests from their methods directly. All of the tests then show up in my launch configuration [see attachment]. As they are quite a few different I regularly find myself deleting them as I don't use the launchconfigs for this.

It would be great to have an option to disable this behavior.
Comment 1 Dani Megert CLA 2019-04-10 06:18:25 EDT
Do you want to filter them in the dialog that you attached?
Comment 2 Jonas Hungershausen CLA 2019-04-10 06:30:31 EDT
(In reply to Dani Megert from comment #1)
> Do you want to filter them in the dialog that you attached?

I'd like an option that if enabled doesn't add the tests run configs to the dialog I attached (and subsequently doesn't add them to the dropdown of run configurations).
Comment 3 Dani Megert CLA 2019-04-10 09:47:23 EDT
You're lucky! This is already there.

Window > Preferences > Launch Configurations
Select 'Filter checked launch configuration types'
Select the ones you want to filer
Comment 4 Jonas Hungershausen CLA 2019-04-14 15:00:40 EDT
(In reply to Dani Megert from comment #3)
> You're lucky! This is already there.
> 
> Window > Preferences > Launch Configurations
> Select 'Filter checked launch configuration types'
> Select the ones you want to filer

That's awesome! Thank you. That works for me too.