Skip to content

JavaScript language plugin for Gauge

License

Notifications You must be signed in to change notification settings

roopaPS305/gauge-js

 
 

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.

About

JavaScript language plugin for Gauge

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 99.5%
  • Other 0.5%