Skip to content

getgauge-examples/gauge-js-swagger-demo

Repository files navigation

Demo of testing Swagger Web API with Gauge JS

This demo tests a dummy NodeJS-based Web API written with Swagger with Gauge, using the JavaScript language runner.

Setting up

  • Install Gauge.
  • Install NodeJS.
  • Install Swagger: $ sudo npm install -g swagger
  • Install Gauge JS runner: $ gauge install js
  • In the project root directory, run: $ npm install

Running Gauge tests

  • $ npm start: Start the Swagger API server.
  • $ npm test: While the server is running, run Gauge tests (in another terminal).

Project layout

About

Demo of testing Swagger Web API with Gauge JS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published