-
Notifications
You must be signed in to change notification settings - Fork 1
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
build tool #4
Comments
This works now. But I would like to setup a task in gradle to run the unit tests |
It uses the java plugin so there are several tasks included. IIRC, "gradle test" should work. "gradle tasks" will list all of the tasks. There is definitely a way to run the unit tests as a standalone. That's why I included one. (They are executed with the main build task.... the java plugin is terrific) |
See that now. Gradle test is silent if all tests pass. I wonder if I can get it to always report "Tests Passed XX of YY (ZZ Failed)". |
I might be able to print something to the command-line, but (by default) the full report is generated here: ~/Scooter-User-Generator/build/reports/tests/index.html so I usually have that open in a browser, for inspection especially when tests fail. Let me know if that doesn't work for you. |
Good to know. First experience with Gradle. Still learning |
Consider using Gradle or similar for an automated build. This would also make 3rd-party jars declarative, accommodate tests, and potentially generate a standalone executable jar.
The text was updated successfully, but these errors were encountered: