Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Application [No Application] - Headless Mode unsupported. - Should be default #58

Open
jgsuess opened this issue Apr 26, 2022 · 1 comment

Comments

@jgsuess
Copy link

jgsuess commented Apr 26, 2022

In the Junit Runner application, there is a setting to run the built-in Eclipse JUnit runner. It hides behind a drop-down setting of [No Application] - Headless Mode. It would be nice to include this setting or even make this the default. I am unsure how else I can use the DSL without this at the moment - the validation fails as the editor does not know about this.

The default application name is org.eclipse.pde.junit.runtime.application for headless, and something with UI for running with widgets. It would be great if you could add this, as headless tests are very common.

@kapexx
Copy link
Contributor

kapexx commented Apr 24, 2024

Headless mode seems to be supported. I just tried it for a junit5 plugin test in Eclipse 2023-03. The editor suggestions contain applications named org.eclipse.pde.junit.runtime.coretestapplication, org.eclipse.pde.junit.runtime.uitestapplication and org.eclipse.pde.junit.runtime.nonuithreadtestapplication.

When using application org.eclipse.pde.junit.runtime.coretestapplication, the generated launch config has [No Application] - Headless Mode selected and works as expected for me.

I agree it should be the default. Most tests are headless in my experience.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants