Skip to content

Latest commit

 

History

History
38 lines (32 loc) · 1.88 KB

README-GRADLE.md

File metadata and controls

38 lines (32 loc) · 1.88 KB

Gradle - A build tool simillar to maven

How to build and run using Gradle ?

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.

  1. Version used - gradle-4.10.2
  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
  • 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