-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Document how to use ConsoleLauncher archive in the User Guide #155
Comments
From the logging it looks like no TestEngines are available at runtime. Are junit5-engine.jar and junit4-engine.jar present in the lib folder and included in the classpath in junit-console.sh/.bat? |
Damn it! 😳 Well, at least I was right that I was doing something wrong. 😜 I even checked that but mistook Now that that's solved I end up at a similar point as in #146. Is the ZIP The Official Way to get and use the console runner? If so, I'd be happy to ...
What do you think? |
Yep, the ZIP is the official way to use the console runner and therefore should be documented as such. Do you have time to provide a pull request? Regarding the script: I agree that it would be nice to include all JARs in the lib folder. However, the script is not hand-written but generated by Gradle. I very briefly looked into the options of the application plugin and couldn't find a way to enable this behaviour besides overriding the whole script. Since I do not want to maintain a shell and a batch script, I don't think that's the way to go. Maybe you can find a way to change its behaviour without replacing the whole script? The test engines have been added (in the current snapshot) in #146. |
Team decision: Document how to use ZIP distribution in User Guide. @nicolaiparlog Do you have time to work on this issue? |
Let's see how #258 comes along (good thing, I'm lazy). |
Hey there, I recently got interest in helping to this awesome project. How can I help in this issue? (I'm rather new to this so bare with me if I take a while :P) |
@Mathreyu, glad to hear you're interested in helping out! At the moment, however, I think it's probably better to wait on the outcome of #258 before we spend too much time documenting how to use the In the meantime, you are free to check out any of the other up-for-grabs issues. |
@sbrannen Thanks :D Will do. |
We have decided to get rid of the ZIP archive distribution in favor of providing a fat JAR (see #258). |
I've been trying to get the console runner working for a while now (the one from the ZIP linked in #146) but failed. I'm assuming I'm doing something wrong.
After I failed to launch the script in any sensible configuration, I looked at the code and got it running from within IntelliJ with the following parameters:
or
Irritatingly, the same arguments to the script lead to an empty run:
As I said, I'm assuming I'm doing something wrong but I have no idea what it could be.
The text was updated successfully, but these errors were encountered: