Skip to content

Latest commit

 

History

History
99 lines (69 loc) · 2.07 KB

README.md

File metadata and controls

99 lines (69 loc) · 2.07 KB

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.