项目作者: getgauge

项目描述 :
JavaScript language plugin for Gauge
高级语言: JavaScript
项目地址: git://github.com/getgauge/gauge-js.git
创建时间: 2015-10-21T17:57:58Z
项目社区:https://github.com/getgauge/gauge-js

开源协议:MIT License

下载


Gauge-JS

Actions Status
Contributor Covenant

This project adds Javascript language plugin for gauge.

Getting started

Pre-requisite

Installation

  1. gauge install js

Create a gauge-js project

  1. gauge init js

Run tests

  1. 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

  1. $ gauge init js_simple

Taiko

Run the following command to create a sample Taiko template

  1. $ gauge init js

Alternate Installation options

Install specific version

  1. gauge install js --version <version>

Install from zip file

  • Download the plugin from Releases
    1. 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
  1. npm install
Run tests:
  1. npm test
Installing from source
  1. npm run installPlugin
Create package
  1. npm run package

You can then install the offline zip archive created using

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

Copyright 2018 ThoughtWorks, Inc.