Gradle - A build tool simillar to maven
You need to have Gradle and Java 1.8+ installed.
This document gives you the basics of how to run this praject as gradle project.
- Version used - gradle-4.10.2
- Use the gradlew file as per your OS (.bat file for windows and .sh file for UNIX/LINUX/Mac OS.)
- Basic commands for clean build.
- Go into your project folder. i.e.
zerocode-hello-world
- Run
./gradlew clean build
to build your project. - Then right click and run any test as JUnit, from the folder
../zerocode-hello-world/src/test/java/org/jsmart/zerocode/testhelp/tests
- Go into your project folder. i.e.
- IDE keyboard shortcuts(handy ones) are here
- Tests are,
helloworld/JustHelloWorldTest.java
helloworldqueryparams/HelloWorldQueryParamsTest.java
helloworldmore/JustHelloWorldMoreTest.java
HelloWorldGitHubSuite.java
helloworldjavaexec/HelloWorldJavaMethodExecTest.java
helloworldarraysize/HelloWorldArraySizeTest.java
helloworldregexmatch/HelloWorldRegexMatchDateTest.java
wiremock/WireMockCustomerEndPointTest.java
helloworldgithub/GitHubHelloWorldTest.java
helloworldgithub/GitHubSslHttpsTest.java
helloworldgithub/MoreGitHubSslAndAssertionsTest.java
loadtesting/LoadGetEndPointTest.java
loadtesting/restendpoint/TestGitGubEndPoint.java
-
clean
,build
are gradle tasks . -
See more help on helloworld readme here
-
For more information on gradle tasks follow the link below or use gradle help on your system.