-
Notifications
You must be signed in to change notification settings - Fork 33
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
CommandLineSettingTest is never executed #426
Comments
Well that's embarrassing... I'll have a look. |
I have taken a look at the whole command line parsing which is currently based on the (rather inept) Apache Commons CLI library. IMHO we could save a lot of manual coding if we used something more capable like picocli. Or is there any compelling reason why we would need to stick with Commons CLI? If not, I guess I could give it a shot... |
There was no specific compelling reason behind the selection of Apache Commons CLI. One thing that's bothered me about the implementation of the settings is that it tightly couples components that are otherwise more loosely coupled. It's possible to, for example, create a configuration of the Dash License Tool that drops ClearlyDefined support or IPLab integration, but the configuration of them will still be in the settings. I've thus far avoided attempting to refactor any of that because I expect that it will introduce unnecessary complexity. |
The errors are a result of some housekeeping that I did last week (see #427). Had the tests been included in the suite, I'd have noticed the error. I'll reverse those, and add CommandLineSettingTest to the test suite. This should clean up the errors. |
3ce24e0 changes the name from |
I've pushed further update that correctly configure the |
The
core/src/test/java/org/eclipse/dash/licenses/tests/TestSuite.java
defines the test suite to be run as all class files ending inTests
.This results in the tests defined in
CommandLineSettingTest.java
never being run. However, running the tests manually reveals that they fail for the current code base.The text was updated successfully, but these errors were encountered: