Gauge Framework setup for Selenium Maven Java

How to setup Gauge framework for Selenium Java with Maven on Mac


Today, we are going to see how to do the basic setup of Guage framework for selenium, Java with maven.

Gauge Installation on Mac:


  • On Mac machine, Install homebrew by running the below command


    /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"


  • Then run the below command to install gauge: 
 

        brew update

    brew install gauge

    or you can download the installer from https://getgauge.io/get-started.html

Gauge Plug-in Installation:


  • Install java plugin
 using

    gauge --install java

  • Install html-report plugin


    gauge --install html-report

Steps to Install Gauge plug-in in IntelliJ:


  • 1. Click IntelliJ -> Preferences


    2. Select "Plugins"


    3. Search for "Gauge" and click on install


    4. Restart IntelliJ

    Now setup is done you can write / import a project using gauge.

How to check if gauge is setup correctly or not

  • Check the gauge and plugin installation from terminal:

    gauge --version


    Then you should see the output like this:


  • Check from intelliJ. you should see the following options when you create a new project.





Hope this is useful for you to setup gauge for Selenium, java with maven.

Comments