Gauge provides only few IDE plugins. The complete list can be found here: https://gauge.org/plugins/
This description describes how to setup VSCode and IntelliJ plugins.
Fist of all install Gauge itself.
Install gauge with brew:
brew update
brew install gaugeThere is an open issue regarding gauge telemetry function, that can stop the gauge plugin. To avoid this turn the feature off. Here is the description of the problem: getgauge/Intellij-Plugin#392
Turn off gauge telemetry:
gauge telemetry offInstall gauge plugins
gauge install js
gauge install java
gauge install pythonInstall gauge python package:
pip install getgauge- Install gauge plugin:
Preferences... -> Plugins -> Gauge - Create a new Gauge project:
File -> New -> Project... - Select Gauge as project type on the left, then click
Next - Select the folder that you would use with Gauge plugin, then click
Finish. Now there are generated files that needed for a Gauge project and added sample files, too. There are 3 files that's needed for sure:java.properties,manifest.json,<project_name>.iml, other can be deleted. - Add
STEP_IMPL_DIR = java/src/test/javaline to the end ofjava.properies - Modify
sourceFolderfield undercontentelement in<project_name>.iml. E.g: `
Install Gauge extension
- Create inside the
env/defaultfolder ajs.propertiesfile - Change the value
Languagefield ofmanifest.jsontojs - Reload the window
- Create inside the
env/defaultfolder apython.propertiesfile - Change the value
Languagefield ofmanifest.jsontopython - Reload the window
In env/default folder always one language specific properties file can remain.
The "Language" field of manifest.json file should match the properties file in env/default folder
Here you can fine language specific properties files: https://github.com/vmatyusGitHub/gauge-properties