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

Unable to execute JUnit 5 Tests with whitespaces in project path #1143

Open
jsc57x opened this issue Feb 9, 2024 · 2 comments
Open

Unable to execute JUnit 5 Tests with whitespaces in project path #1143

jsc57x opened this issue Feb 9, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@jsc57x
Copy link

jsc57x commented Feb 9, 2024

There is a bug in Eclipse 2023_12 (I don't know which pde version corresponds) when trying to run JUnit Plug-in Tests with whitespaces in the absolute path of classes if the launch config is set to run all tests in a package.
You can find a minimal reproducable example here: https://github.com/jsc57x/MissingFragmentHost/tree/JUnit5Runner
In both fragment test projects there is at least one launch config for running all available tests. The launch config TestClassWithWhitespaces in Fragment test project does not work and shows
java.net.URISyntaxException: Illegal character in path at index xx: file:/<omitted>/MissingFragmentHost/Fragment Test Project/bin/test/test/
where xx is the first occurence of a whitespace in the path.

@opcoach opcoach added the good first issue Good for newcomers label Sep 30, 2024
@ejDeister
Copy link

Hey, do you happen to know if this bug persists into the latest version of Eclipse?

@jsc57x
Copy link
Author

jsc57x commented Nov 25, 2024

No, sorry I did not test it with any newer versions than 2023_12

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

No branches or pull requests

3 participants