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
Command Junit throws NPE #4634
Comments
To run those tests, run I don't know anything about the bnd junit command or if it is tested or even works. Looking at JUnitLauncher, it seems somewhat incorrect in multiple ways. I think it is basically dead code. |
There are some people that like bnd command's more than grade. They came up with the question about this command. So i though easiest way to test is project.. just to have something to reproduce the problem. But i think we should either fix this or remove the command. Afaik they use the paralle build and run command quiet often. |
If the command is broken, then it can certainly be fixed and some tests added to make sure it stays fixed. As for the Bnd build itself, you must use the gradle build to build and test Bnd. |
This issue has been automatically marked as stale because it has not had recent activity. Given the limited bandwidth of the team, it will be automatically closed if no further activity occurs. If you feel this is something you could contribute, please have a look at our Contributor Guide. Thank you for your contribution. |
This issue has been automatically closed due to inactivity. If you can reproduce this on a recent version of Bnd/Bndtools or if you have a good use case for this feature, please feel free to reopen the issue with steps to reproduce, a quick explanation of your use case or a high-quality pull request. |
i tried to run
bnd.jar junit
on this https://github.com/bndtools/bnd/tree/master/biz.aQute.launchpad.teststhis results in:
seems that the prepare method of https://github.com/bndtools/bnd/blob/master/biz.aQute.bndlib/src/aQute/bnd/build/JUnitLauncher.java is never called.
The text was updated successfully, but these errors were encountered: