Skip to content

Latest commit

 

History

History
66 lines (52 loc) · 1.78 KB

File metadata and controls

66 lines (52 loc) · 1.78 KB

Web, API and Mobile Integration Automation Demo - Setup Guide


Pre Requisites

  1. Java
  2. Maven
  3. Appium

How to Install Gauge Core

On Windows

  1. Install Chocolatey by executing the following command.
    @"%SystemRoot%\System32\WindowsPowerShell\v1.0\powershell.exe" -NoProfile -InputFormat None -ExecutionPolicy Bypass -Command "iex ((New-Object System.Net.WebClient).DownloadString(‘https://chocolatey.org/install.ps1'))" && SET "PATH=%PATH%;%ALLUSERSPROFILE%\chocolatey\bin"

  2. Install Gauge by executing the following command.
    choco install gauge

On MacOS

  1. Update Homebrew.
    brew update

  2. Install Gauge using Homebrew.
    brew install gauge

On Linux

  1. First, add Gauge’s GPG key with this command.
    sudo apt-key adv --keyserver hkp://pool.sks-keyservers.net --recv-keys 023EDB0B

  2. Then add Gauge to the repository list using this command.
    echo deb https://dl.bintray.com/gauge/gauge-deb nightly main | sudo tee -a /etc/apt/sources.list

  3. Finally, install Gauge using these commands.
    sudo apt-get update
    sudo apt-get install gauge


How to Install Gauge Plugins

  1. Open Command Prompt and execute following commands.
    gauge install java
    gauge install html-report
    gauge install json-report
    gauge install xml-report
    gauge install spectacle
    gauge install flash

  2. You can check the installation using the following command.
    gauge -v

    If the installation is success, it will output like this:

    Gauge version: <version number>
    Plugins
    -------
    flash (<version number>)
    html-report (<version number>)
    java (<version number>)
    json-report (<version number>)
    spectacle (<version number>)
    xml-report (<version number>)

Copyright

Copyright 2018 MaxSoft.