Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 1.72 KB

README.md

File metadata and controls

22 lines (18 loc) · 1.72 KB

SQAT Software Quality And Testing

0. Prerequisites

  1. Gradle
  2. Java
  3. Docker

1. Setting up the environment

  1. We will be using docker based gradle, so first one must install Docker
  2. To install docker desktop, go to dockers homepage and fetch the suitable docker version, which almost all the time is the docker-ce version
    • UBUNTU, follow the steps of digital ocean
    • OS-X follow the official website steps
    • Win64 one should follow the official steps as well ++one can use and I suggest to use the WSL2 version. More on WSL 2.0 here.
  3. After you have finished installing docker, fetch the gradle image by running docker pull gradle which will fetch the latest tagged docker gradle image from the hub. NOTICE! Docker on Windows will interpret your path with the nix convention so C:\Users\John_Doe needs to be passed as /c/Users/John_doe otherwise it won't work.

2. Running the samples

To run the samples execute to following from the sample's directory

  • On Nix systems docker run -i -t --rm -u gradle -v "$PWD":YOUR_PATH_TO_SAMPLE -w YOUR_PATH_TO_SAMPLE gradle gradle <gradle-task>
  • On Windows systems docker run -i -t --rm -u gradle -v YOUR_PATH_TO_SAMPLE:YOUR_PATH_TO_SAMPLE -w YOUR_PATH_TO_SAMPLE gradle gradle <gradle-task>