Skip to content

getgauge/gauge-js

Folders and files

NameName
Last commit message
Last commit date
Mar 1, 2025
Nov 29, 2024
Jun 25, 2024
Apr 7, 2020
Jun 25, 2024
Jun 25, 2024
Jun 25, 2024
Jun 25, 2024
Jun 21, 2024
Oct 16, 2017
Nov 15, 2017
Nov 27, 2015
Feb 19, 2016
Apr 13, 2018
May 14, 2019
Apr 29, 2023
Jan 16, 2018
Jun 25, 2024
Feb 18, 2016
Jun 25, 2024
Dec 18, 2017
Jun 25, 2024
Jun 25, 2024
Mar 17, 2025
Mar 17, 2025
Feb 20, 2020

Repository files navigation

Gauge-JS

Actions Status Contributor Covenant

This project adds Javascript language plugin for gauge.

Getting started

Pre-requisite

Installation

gauge install js

Create a gauge-js project

gauge init js

Run tests

gauge run specs

Documentation

For other details refer the documentation here

Demos and examples

Plain Javascript

Run the following command to create a sample gauge template

$ gauge init js_simple

Taiko

Run the following command to create a sample Taiko template

$ gauge init js

Alternate Installation options

Install specific version

gauge install js --version <version>

Install from zip file

gauge install js --file gauge-js-<version>.zip

Build from Source

The plugin is authored in Javascript. Gauge is authored in golang. These are independent processes talking to each other over TCP on port GAUGE_INTERNAL_PORT (env variable) using Protobuf.

Pre-Requisites
Compiling
npm install
Run tests:
npm test
Installing from source
npm run installPlugin
Create package
npm run package

You can then install the offline zip archive created using

gauge install js --file gauge-js-<version>.zip

Copyright

Copyright 2018 ThoughtWorks, Inc.