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 · 0 comments
Open

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

jsc57x opened this issue Feb 9, 2024 · 0 comments

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.

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

1 participant